Granollers undid Troicki with drop shots that had the Serb flying around the clay court. Troicki complained of back pain in the first set.
Granollers has also reached the semifinals in the doubles with Serbia's Nenad Zimonjic.
"I can win a lot of points in both singles and doubles," Granollers said. "I like this tournament, I was here last year, too."
Garcia-Lopez struggled with his serve against Devvarman in the occasional drizzle. The Spaniard double-faulted six times and was broken six times. Devvarman sealed the victory after 3 hours, 14 minutes when Garcia-Lopez netted an overhead smash.
"I promised my audience they will see better play from me in the second round and I kept the promise," said Tipsarevic, who had to rally from a set down to beat Kei Nishikori of Japan in the first round.