simulateModel("Buildings.Templates.Plants.Controls.Utilities.Validation.StageIndex",
    method="cvode",
    tolerance=1e-6,
    stopTime=160.0,
    resultFile="StageIndex");
createPlot(
    id=1,
    subPlot=1,
    position={5, 5, 400, 500},
    y={"ena.y"},
    autoscale=true,
    grid=true
);
createPlot(
    id=1,
    subPlot=2,
    y={"u1UpHol.y", "u1DowHol.y"},
    autoscale=true,
    grid=true
);
createPlot(
    id=1,
    subPlot=3,
    y={"u1AvaSta[1].y", "u1AvaSta[2].y", "u1AvaSta[3].y", "u1AvaSta[4].y"},
    autoscale=true,
    grid=true
);
createPlot(
    id=2,
    subPlot=1,
    position={410, 5, 400, 500},
    y={"idxSta.y"},
    autoscale=true,
    grid=true
);
createPlot(
    id=2,
    subPlot=2,
    y={"idxStaUna.y"},
    autoscale=true,
    grid=true
);
createPlot(
    id=2,
    subPlot=3,
    y={"idxStaRun.y"},
    autoscale=true,
    grid=true
);
createPlot(
    id=2,
    subPlot=4,
    y={"idxStaRunUna.y"},
    autoscale=true,
    grid=true
);