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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01556/0.01556, allocations: 107.3 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001838/0.001838, allocations: 183.6 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.028/2.028, allocations: 194.5 MB / 211.2 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.422/2.422, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004911, allocations: 16 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6767, allocations: 98.7 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2611/0.9379, allocations: 129.7 MB / 0.8101 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.9383, allocations: 95.94 kB / 0.8102 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03876/0.9771, allocations: 8.884 MB / 0.8189 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9771, allocations: 0 / 0.8189 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.713e-05/0.9772, allocations: 16 kB / 0.8189 GB, free: 3.527 MB / 0.6355 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.001922/0.9791, allocations: 0.7793 MB / 0.8196 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.9792, allocations: 8.031 kB / 0.8196 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.9794, allocations: 90.45 kB / 0.8197 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.9796, allocations: 59.3 kB / 0.8198 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.9804, allocations: 370.2 kB / 0.8201 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.193e-05/0.9805, allocations: 48.98 kB / 0.8202 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.9806, allocations: 48 kB / 0.8202 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.9822, allocations: 0.5059 MB / 0.8207 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.9823, allocations: 0 / 0.8207 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.9823, allocations: 19.98 kB / 0.8207 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.9824, allocations: 12 kB / 0.8208 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.984, allocations: 471.6 kB / 0.8212 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.9877, allocations: 1.403 MB / 0.8226 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.9894, allocations: 0.496 MB / 0.8231 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.171e-05/0.9895, allocations: 4.438 kB / 0.8231 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009448/0.9905, allocations: 295.7 kB / 0.8234 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 4.078e-06/0.9905, allocations: 0 / 0.8234 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.002324/0.9928, allocations: 0.6234 MB / 0.824 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.993, allocations: 71.94 kB / 0.824 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.9936, allocations: 309.3 kB / 0.8243 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.9937, allocations: 53.69 kB / 0.8244 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.994, allocations: 205.3 kB / 0.8246 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.9942, allocations: 142.1 kB / 0.8247 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.9943, allocations: 16 kB / 0.8247 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.9945, allocations: 354.8 kB / 0.8251 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.9952, allocations: 193.2 kB / 0.8252 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.9961, allocations: 282 kB / 0.8255 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.9969, allocations: 246.5 kB / 0.8257 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.9969, allocations: 0 / 0.8257 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001919/0.9988, allocations: 0.6133 MB / 0.8263 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.9989, allocations: 60.97 kB / 0.8264 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.9989, allocations: 0 / 0.8264 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.999, allocations: 4.219 kB / 0.8264 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.9996, allocations: 83.81 kB / 0.8265 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.9996, allocations: 7.938 kB / 0.8265 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/1, allocations: 87.72 kB / 0.8266 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/1, allocations: 23.98 kB / 0.8266 GB, free: 11.3 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 () * Number of clocked 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.0004999/1.001, allocations: 241.6 kB / 0.8268 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/1.001, allocations: 39.53 kB / 0.8269 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.003, allocations: 0.5341 MB / 0.8274 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.003, allocations: 8 kB / 0.8274 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.003, allocations: 4 kB / 0.8274 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.003, allocations: 3.984 kB / 0.8274 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/1.006, allocations: 1.235 MB / 0.8286 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.006, allocations: 0 / 0.8286 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/1.007, allocations: 55.91 kB / 0.8287 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/1.007, allocations: 8 kB / 0.8287 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/1.007, allocations: 15.98 kB / 0.8287 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.007, allocations: 0 / 0.8287 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.007, allocations: 7.953 kB / 0.8287 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/1.009, allocations: 0.6 MB / 0.8293 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/1.009, allocations: 124.6 kB / 0.8294 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.742e-05/1.009, allocations: 12 kB / 0.8294 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/1.01, allocations: 63.94 kB / 0.8295 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/1.01, allocations: 84.44 kB / 0.8296 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/1.01, allocations: 19.95 kB / 0.8296 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003702/1.01, allocations: 213.9 kB / 0.8298 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.01, allocations: 0 / 0.8298 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007218/1.011, allocations: 107.9 kB / 0.8299 GB, free: 7.832 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) * Number of clocked states: 0 () * 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.002925/1.014, allocations: 1.318 MB / 0.8312 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.016, allocations: 0.6121 MB / 0.8318 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.016, allocations: 0 / 0.8318 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008946/1.017, allocations: 275.5 kB / 0.832 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/1.018, allocations: 53.16 kB / 0.8321 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/1.022, allocations: 2.397 MB / 0.8344 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/1.022, allocations: 0.852 MB / 0.8353 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005179/1.023, allocations: 71.33 kB / 0.8353 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/1.023, allocations: 159.4 kB / 0.8355 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of SimCode: time 1.223e-06/1.023, allocations: 4 kB / 0.8355 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/1.064, allocations: 8.93 MB / 0.8442 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004295/1.065, allocations: 273.1 kB / 0.8445 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.82, allocations: 0 / 0.8445 GB, free: 8.906 MB / 0.6667 GB