Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 161.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.95/2.95, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 59.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8593/0.8615, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003149/0.8647, allocations: 1.995 MB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.8661, allocations: 0.6974 MB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.8663, allocations: 7.656 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.8664, allocations: 32.53 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.8665, allocations: 47.73 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.867, allocations: 161.9 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.8675, allocations: 408.2 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.8678, allocations: 198.4 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.868, allocations: 136.5 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.8681, allocations: 132.7 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.8682, allocations: 40.03 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.8683, allocations: 47.41 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.8684, allocations: 84.36 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.8685, allocations: 118.9 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.869, allocations: 438 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.869, allocations: 0.6562 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/0.869, allocations: 1.531 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.869, allocations: 0 / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000877/0.8699, allocations: 0.5364 MB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.8699, allocations: 10.12 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.8702, allocations: 48.42 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.8705, allocations: 208.2 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.8706, allocations: 28.67 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.8706, allocations: 34.73 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.8713, allocations: 336 kB / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.8713, allocations: 0 / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.8713, allocations: 16.72 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.8713, allocations: 6.594 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006101/0.8719, allocations: 249.1 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.8732, allocations: 0.766 MB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.8738, allocations: 246.8 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.8741, allocations: 107.7 kB / 1.194 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.8741, allocations: 3.766 kB / 1.194 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.8744, allocations: 181.2 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.714e-06/0.8744, allocations: 1.125 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=32): time 0.0008589/0.8753, allocations: 347.3 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.8754, allocations: 65.5 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.8755, allocations: 190.3 kB / 1.194 GB, free: 11.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.8755, allocations: 41.03 kB / 1.194 GB, free: 11.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.8756, allocations: 162.3 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.8757, allocations: 89.61 kB / 1.195 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.8758, allocations: 90.95 kB / 1.195 GB, free: 11.13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.8759, allocations: 331.3 kB / 1.195 GB, free: 10.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.8761, allocations: 135.1 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.8764, allocations: 197.6 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.8769, allocations: 267.4 kB / 1.196 GB, free: 10.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.8769, allocations: 1.125 kB / 1.196 GB, free: 10.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006951/0.8776, allocations: 394.9 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.8776, allocations: 33.88 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.8776, allocations: 1.906 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.8777, allocations: 3.281 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.8779, allocations: 47.66 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.8779, allocations: 6.281 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.8781, allocations: 48.08 kB / 1.196 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.8782, allocations: 14.81 kB / 1.196 GB, free: 10.18 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.8783, allocations: 187 kB / 1.196 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.8783, allocations: 24.86 kB / 1.196 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.8784, allocations: 28.22 kB / 1.196 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8784, allocations: 2.688 kB / 1.196 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8784, allocations: 1.312 kB / 1.196 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.8784, allocations: 1.922 kB / 1.196 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/0.8794, allocations: 0.6187 MB / 1.197 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8794, allocations: 4 kB / 1.197 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.8795, allocations: 30.11 kB / 1.197 GB, free: 9.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.8795, allocations: 1.094 kB / 1.197 GB, free: 9.582 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.8795, allocations: 8.141 kB / 1.197 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8795, allocations: 1.312 kB / 1.197 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8795, allocations: 0 / 1.197 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.8801, allocations: 365.7 kB / 1.197 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.8801, allocations: 23.5 kB / 1.197 GB, free: 9.348 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.8801, allocations: 6.922 kB / 1.197 GB, free: 9.344 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.8804, allocations: 36.03 kB / 1.197 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8805, allocations: 44.2 kB / 1.197 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.8805, allocations: 11.84 kB / 1.197 GB, free: 9.316 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.363e-05/0.8806, allocations: 118 kB / 1.197 GB, free: 9.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8806, allocations: 3.938 kB / 1.198 GB, free: 9.227 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003239/0.8809, allocations: 64.31 kB / 1.198 GB, free: 9.211 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.881, allocations: 118.4 kB / 1.198 GB, free: 9.105 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006265/0.8816, allocations: 337.4 kB / 1.198 GB, free: 8.938 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8816, allocations: 0 / 1.198 GB, free: 8.938 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.8819, allocations: 127.4 kB / 1.198 GB, free: 8.895 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.8822, allocations: 36.33 kB / 1.198 GB, free: 8.875 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.883, allocations: 459.7 kB / 1.199 GB, free: 8.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.8832, allocations: 156.6 kB / 1.199 GB, free: 8.504 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.8833, allocations: 22.84 kB / 1.199 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.8833, allocations: 23.61 kB / 1.199 GB, free: 8.488 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.8833, allocations: 4.75 kB / 1.199 GB, free: 8.484 MB / 1.076 GB Notification: Performance of Templates: time 0.007674/0.891, allocations: 2.923 MB / 1.202 GB, free: 8.141 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.876087818993255]