simulateModel("Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex",
    method="Cvode",
    tolerance=1e-6,
    startTime=0,
    stopTime=1000,
    resultFile="StageIndex");

createPlot(
    id=1,
    position={24, 21, 592, 515},
    y={"sta.u1", "sta.u1Up", "sta.u1Dow"},
    autoscale=true,
    autoerase=true,
    autoreplot=true,
    grid=true,
    color=true);
createPlot(
    id=1,
    subPlot=2,
    y={"sta.idxSta"},
    autoscale=true,
    autoerase=true,
    autoreplot=true,
    grid=true,
    color=true);
