Smith in third on Valencia grid