Voters approved the purchase in a referendum, but city officials didn’t hide their sinking feelings about the cost.