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.VariableSpeedPumpStage.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.VariableSpeedPumpStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.276/4.276, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.005e-05/5.033e-05, allocations: 3.25 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.5196, allocations: 129.6 MB / 0.7613 GB, free: 108 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005349/0.5202, allocations: 87.94 kB / 0.7614 GB, free: 20 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04526/0.5655, allocations: 8.858 MB / 0.77 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5656, allocations: 0 / 0.77 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.5656, allocations: 16 kB / 0.77 GB, free: 7.094 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001829/0.5675, allocations: 0.7439 MB / 0.7708 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5676, allocations: 12.03 kB / 0.7708 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.5677, allocations: 86.52 kB / 0.7709 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.568, allocations: 59.3 kB / 0.7709 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.5688, allocations: 370.2 kB / 0.7713 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/0.5688, allocations: 37 kB / 0.7713 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.569, allocations: 52 kB / 0.7714 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5704, allocations: 490.2 kB / 0.7718 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.5704, allocations: 0 / 0.7718 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.5705, allocations: 20 kB / 0.7718 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5705, allocations: 12 kB / 0.7719 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.5718, allocations: 411.8 kB / 0.7723 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.5756, allocations: 1.411 MB / 0.7736 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5771, allocations: 440.5 kB / 0.7741 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.5777, allocations: 210 kB / 0.7743 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.704e-05/0.5778, allocations: 8.438 kB / 0.7743 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000742/0.5785, allocations: 263 kB / 0.7745 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 4.228e-06/0.5785, allocations: 0 / 0.7745 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.00127/0.5798, allocations: 398.6 kB / 0.7749 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.5799, allocations: 64.75 kB / 0.775 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/0.5805, allocations: 298.8 kB / 0.7752 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.5807, allocations: 61.62 kB / 0.7753 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.5809, allocations: 205.2 kB / 0.7755 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.5812, allocations: 146.1 kB / 0.7756 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.5812, allocations: 12 kB / 0.7756 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.5814, allocations: 358.8 kB / 0.776 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.582, allocations: 165.5 kB / 0.7761 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.5826, allocations: 255.4 kB / 0.7764 GB, free: 332 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.5832, allocations: 213.4 kB / 0.7766 GB, free: 108 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.5832, allocations: 0 / 0.7766 GB, free: 108 kB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.6983/1.281, allocations: 0.557 MB / 0.7771 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/1.282, allocations: 59.42 kB / 0.7772 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.282, allocations: 2.984 kB / 0.7772 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.463e-05/1.282, allocations: 4.656 kB / 0.7772 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.283, allocations: 77.42 kB / 0.7773 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/1.283, allocations: 5.312 kB / 0.7773 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.284, allocations: 82.11 kB / 0.7774 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.284, allocations: 26.89 kB / 0.7774 GB, free: 136.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: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * 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.000364/1.285, allocations: 166 kB / 0.7775 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/1.285, allocations: 45.03 kB / 0.7776 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/1.287, allocations: 499.5 kB / 0.7781 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.287, allocations: 6.828 kB / 0.7781 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.287, allocations: 1.344 kB / 0.7781 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.287, allocations: 3.469 kB / 0.7781 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/1.291, allocations: 1.174 MB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.291, allocations: 0 / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/1.291, allocations: 58.03 kB / 0.7793 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.291, allocations: 2.469 kB / 0.7793 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/1.291, allocations: 13.2 kB / 0.7793 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/1.291, allocations: 6.828 kB / 0.7793 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.291, allocations: 0 / 0.7793 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/1.293, allocations: 0.5332 MB / 0.7798 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/1.293, allocations: 124 kB / 0.7799 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.293, allocations: 15.8 kB / 0.7799 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000642/1.294, allocations: 62.41 kB / 0.78 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/1.294, allocations: 84.27 kB / 0.7801 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.606e-05/1.294, allocations: 21.34 kB / 0.7801 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003518/1.294, allocations: 209.5 kB / 0.7803 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.294, allocations: 0 / 0.7803 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007297/1.295, allocations: 112.1 kB / 0.7804 GB, free: 135.6 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.002386/1.298, allocations: 1.256 MB / 0.7816 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.299, allocations: 0.5514 MB / 0.7822 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.299, allocations: 0 / 0.7822 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/1.3, allocations: 245.7 kB / 0.7824 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/1.3, allocations: 50.8 kB / 0.7825 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/1.303, allocations: 0.7177 MB / 0.7832 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/1.303, allocations: 0.8527 MB / 0.784 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004779/1.304, allocations: 73.06 kB / 0.7841 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/1.304, allocations: 160.1 kB / 0.7842 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.304, allocations: 0 / 0.7842 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/1.348, allocations: 9.08 MB / 0.7931 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/1.348, allocations: 250.5 kB / 0.7933 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/4.303, allocations: 0 / 0.7933 GB, free: 132.8 MB / 0.6511 GB