Minor leaguer Mike Yastrzemski, the grandson of Carl Yastrzemski, homered for Baltimore.
Nolasco allowed back-to-back home runs in the first, a two-run shot by Adam Jones, his fourth of spring training, and Travis Snider's first.
After Snider's homer, Nolasco retired 10 straight. One of the runs was unearned against Nolasco, who has allowed nine earned runs over 19 2-3 innings in five starts.
Miguel Gonzalez gave up five runs and seven hits in 5 2-3 innings.
Mike Pelfrey, who was demoted to the bullpen on Saturday and expressed his displeasure about it, pitched a perfect seventh.