A Union Street office building sold at a foreclosure auction for $7 million, marking the latest sign of distress in downtown Nashville's office market.