The building has filled many roles over the years, from residence to jail to mint, and is now used for exhibitions.
The building has only ever been a jail. 
mnli hypothesis: The building has only ever been a jail.  premise: The building has filled many roles over the years, from residence to jail to mint, and is now used for exhibitions.