Caustic storage building with multiple compartments and fire rating