simulateModel("Buildings.Templates.Plants.Controls.StagingRotation.Validation.SortRuntime",
    method="cvode",
    tolerance=1e-6,
    stopTime=5000.0,
    resultFile="SortRuntime");
createPlot(
    id=1,
    position={5, 5, 300, 500},
    subPlot=1,
    y={"idxSta.y", "run[1].y", "run[2].y", "run[3].y"},
    autoscale=true,
    grid=true
);
createPlot(
    id=1,
    subPlot=2,
    y={"u1AvaEqu.y[1]", "u1AvaEqu.y[2]", "u1AvaEqu.y[3]"},
    autoscale=true,
    grid=true
);
createPlot(
    id=2,
    position={310, 5, 300, 500},
    y={"sorRunTim.yIdx[1]", "sorRunTim.yIdx[2]", "sorRunTim.yIdx[3]"},
    autoscale=true,
    grid=true
);
createPlot(
    id=2,
    subPlot=2,
    y={"sorRunTim.yRunTimSta[1]", "sorRunTim.yRunTimSta[2]", "sorRunTim.yRunTimSta[3]"},
    autoscale=true,
    grid=true
);