Sauté the onions and the garlic in 1/4-cup olive oil until translucent. Add tomato sauce and fresh tomatoes, cooking slowly over low heat for about an hour. Remove from the heat. When the sauce is cool, purée in blender and set aside.
Sauté the mushrooms in remaining olive oil and the butter. Season with salt and pepper, and cook until tender. Remove from heat and drain the mushrooms in a colander placed over a bowl. Reserve the mushroom liquid and add it to the tomato sauce. Reheat the tomato sauce with the cooked mushrooms.
Cook the penne in lightly salted water until al dente. Drain, then toss the tomato-mushroom sauce together with the cooked pasta. Add and toss the grated Parmesan and Pecorino Romano cheese to taste. Serve the pasta garnished with the grated cheeses and fresh basil.