The phrase "which was quite old" is a non-restrictive relative clause providing additional information about "The building".