Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.113/4.113, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.318e-05, allocations: 3.422 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2216, allocations: 98.74 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.4695, allocations: 130.9 MB / 0.7626 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/0.4699, allocations: 91.94 kB / 0.7627 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04744/0.5174, allocations: 10.67 MB / 0.7731 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5174, allocations: 0 / 0.7731 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.476e-05/0.5175, allocations: 8 kB / 0.7731 GB, free: 3.973 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002035/0.5196, allocations: 0.7935 MB / 0.7739 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5196, allocations: 12.02 kB / 0.7739 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.5198, allocations: 90.52 kB / 0.774 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.52, allocations: 59.3 kB / 0.774 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.5209, allocations: 374.2 kB / 0.7744 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.521, allocations: 44.98 kB / 0.7744 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.5211, allocations: 56 kB / 0.7745 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5227, allocations: 0.5098 MB / 0.775 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.5227, allocations: 0 / 0.775 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.5228, allocations: 20 kB / 0.775 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.5229, allocations: 12 kB / 0.775 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.5241, allocations: 419.8 kB / 0.7754 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5442/1.068, allocations: 1.442 MB / 0.7768 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/1.07, allocations: 454.6 kB / 0.7773 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/1.071, allocations: 214.3 kB / 0.7775 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.866e-05/1.071, allocations: 7.359 kB / 0.7775 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008007/1.071, allocations: 292.9 kB / 0.7777 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.999e-06/1.072, allocations: 1.641 kB / 0.7777 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001395/1.073, allocations: 465.7 kB / 0.7782 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/1.073, allocations: 68.08 kB / 0.7783 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/1.074, allocations: 330.6 kB / 0.7786 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/1.074, allocations: 54 kB / 0.7786 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/1.074, allocations: 211.7 kB / 0.7788 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/1.074, allocations: 151.4 kB / 0.779 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/1.074, allocations: 14.91 kB / 0.779 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.075, allocations: 354 kB / 0.7793 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/1.075, allocations: 186.8 kB / 0.7795 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/1.076, allocations: 268.1 kB / 0.7798 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/1.076, allocations: 264.3 kB / 0.78 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.076, allocations: 0 / 0.78 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001649/1.078, allocations: 0.6639 MB / 0.7807 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.973e-05/1.078, allocations: 87.52 kB / 0.7807 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.078, allocations: 2.188 kB / 0.7807 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.078, allocations: 6.859 kB / 0.7807 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/1.079, allocations: 72.59 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/1.079, allocations: 5.141 kB / 0.7808 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000771/1.08, allocations: 86 kB / 0.7809 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.08, allocations: 31.23 kB / 0.7809 GB, free: 134.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003304/1.08, allocations: 173.9 kB / 0.7811 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.08, allocations: 42.92 kB / 0.7811 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/1.082, allocations: 0.5386 MB / 0.7817 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.082, allocations: 10.38 kB / 0.7817 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.082, allocations: 1.203 kB / 0.7817 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.082, allocations: 4.531 kB / 0.7817 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/1.085, allocations: 1.253 MB / 0.7829 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.085, allocations: 0.9375 kB / 0.7829 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/1.086, allocations: 56.86 kB / 0.783 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/1.086, allocations: 3.828 kB / 0.783 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/1.086, allocations: 13.3 kB / 0.783 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.086, allocations: 3.531 kB / 0.783 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.086, allocations: 1.406 kB / 0.783 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/1.087, allocations: 0.5997 MB / 0.7836 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/1.088, allocations: 121.8 kB / 0.7837 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.088, allocations: 22.06 kB / 0.7837 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/1.088, allocations: 60.41 kB / 0.7838 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/1.089, allocations: 87.19 kB / 0.7838 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.089, allocations: 25.2 kB / 0.7839 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003781/1.089, allocations: 224.7 kB / 0.7841 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.089, allocations: 0 / 0.7841 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008385/1.09, allocations: 130.1 kB / 0.7842 GB, free: 133.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.nextTime,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002503/1.093, allocations: 1.339 MB / 0.7855 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001552/1.094, allocations: 0.6496 MB / 0.7861 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.094, allocations: 0 / 0.7861 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/1.095, allocations: 258.9 kB / 0.7864 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/1.096, allocations: 55.44 kB / 0.7864 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/1.099, allocations: 0.7814 MB / 0.7872 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.099, allocations: 0.8652 MB / 0.7881 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005369/1.1, allocations: 69.25 kB / 0.7881 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/1.1, allocations: 168.5 kB / 0.7883 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/1.101, allocations: 0 / 0.7883 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04401/1.145, allocations: 9.713 MB / 0.7978 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.145, allocations: 229.5 kB / 0.798 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/4.13, allocations: 0 / 0.798 GB, free: 130.6 MB / 0.6511 GB