Gausman gave up a leadoff homer to Starling Marte before walking Travis Snider and serving up a hard-hit double to Andrew McCutchen. But he bounced back immediately by striking out Pedro Alvarez, Neil Walker and Travis Ishikawa, stranding both runners and getting out of the inning.
"It's not going to be perfect always in the season," Gausman said. "It's good to get in those situations now, so that when it comes this spring or this summer, I have that experience in those situations."
Gausman was practically untouchable the rest of the way, holding the Pirates to just one other hit as he finished out his four innings of work. He walked Pirates catcher Tony Sanchez to lead off the second and sandwiched a leaping grab to his left between another pair of strikeouts.
Gausman ran up his strikeout total to six in the third inning, punching out Alvarez for the third out, then fanned Sanchez and Jordy Mercer in the fourth.
Cole also served up a homer to the first batter he faced, Orioles right fielder Nick Markakis. The Orioles scratched a run across in the second inning and reigning home run champion Chris Davis launched his fourth shot of the spring in the third inning to put the Orioles ahead by two runs.
The Pirates stormed back in the sixth inning, as Sanchez singled home a run, Mercer doubled in two more and Cole, batting in a game for the first time this spring, plated Sanchez with a sacrifice fly to right field.
Ryan Flaherty made short work of Pittsburgh's lead, though, bashing a two-run homer to center off Cole in the bottom of the sixth to tie the game at 5.
The Orioles then took the lead in the seventh on a Delmon Young single, but the Bucs answered in the top of the eighth when Ishikawa scored on Mercer's groundout to tie the game at 6.
In the top of the ninth, the lead changed again with a solo home run from McCutchen, but the Orioles tied the game at 7 in the bottom of the frame when Jonathan Schoop went yard, the O's fourth homer of the day.
Up next: Wandy Rodriguez, who has straightened out the question mark above him into an exclamation point with a healthy spring, starts against Detroit at McKechnie Field in a nationally-televised 1:05 p.m. game on Monday. In Grapefruit League action, Rodriguez has allowed one earned run in seven innings across three starts, with one walk and six strikeouts. It's a convincing step on his way back from the forearm arthritis in his pitching arm that shelved the lefty for the final four months of 2013. Watch the game live on MLB.TV or listen to an exclusive webcast.