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.001628/0.001628, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001828/0.001828, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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 3.271/3.271, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 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.002043/0.002043, allocations: 70.27 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003495/0.3588, allocations: 1.989 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3601, allocations: 0.6975 MB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3602, allocations: 7.938 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.3603, allocations: 35.61 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.3605, allocations: 39.59 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.3609, allocations: 159.8 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.3614, allocations: 411.2 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.3618, allocations: 212.6 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.3619, allocations: 139.5 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.3621, allocations: 131.4 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.3622, allocations: 40 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.3623, allocations: 40 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3624, allocations: 79.77 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3625, allocations: 127.4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.3631, allocations: 442.3 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3631, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3631, allocations: 4 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3631, allocations: 0 / 1.368 GB, free: 9.062 MB / 1.061 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.0009574/0.364, allocations: 0.5313 MB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3641, allocations: 8.031 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.3643, allocations: 44.72 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.3647, allocations: 214 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.3648, allocations: 32.97 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.3648, allocations: 28.38 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.3655, allocations: 345.3 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3655, allocations: 0 / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.3655, allocations: 15.98 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3655, allocations: 8 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/0.3661, allocations: 242.5 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.3675, allocations: 0.758 MB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.3681, allocations: 250.8 kB / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.3684, allocations: 116.8 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3684, allocations: 4 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/0.3688, allocations: 187.2 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.3688, allocations: 0 / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=32): time 0.0008391/0.3697, allocations: 342 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3697, allocations: 59.39 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3699, allocations: 191.1 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.37, allocations: 41.7 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3701, allocations: 156.8 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.154e-05/0.3701, allocations: 91.31 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.3703, allocations: 78.12 kB / 1.372 GB, free: 5.191 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3704, allocations: 338.8 kB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3707, allocations: 134.5 kB / 1.372 GB, free: 4.715 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.3711, allocations: 191.1 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.3716, allocations: 271.1 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3716, allocations: 4 kB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007411/0.3723, allocations: 388.8 kB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.3724, allocations: 33.7 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3724, allocations: 4 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3724, allocations: 4 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.3726, allocations: 39.91 kB / 1.373 GB, free: 3.727 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3726, allocations: 4 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3729, allocations: 67.61 kB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3729, allocations: 12 kB / 1.373 GB, free: 3.645 MB / 1.061 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.0002027/0.3731, allocations: 179.4 kB / 1.373 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3731, allocations: 19.86 kB / 1.373 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.103e-05/0.3732, allocations: 30.66 kB / 1.373 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3732, allocations: 4 kB / 1.373 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3732, allocations: 0 / 1.373 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3732, allocations: 3.984 kB / 1.374 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.3743, allocations: 0.6198 MB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3743, allocations: 4 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3744, allocations: 31.91 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3744, allocations: 3.938 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.3745, allocations: 7.984 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3745, allocations: 4 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3745, allocations: 0 / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/0.3751, allocations: 368.2 kB / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.3751, allocations: 19.8 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.3751, allocations: 11.98 kB / 1.375 GB, free: 2.289 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.3754, allocations: 27.97 kB / 1.375 GB, free: 2.262 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3755, allocations: 47.88 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3755, allocations: 4 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001025/0.3756, allocations: 120.9 kB / 1.375 GB, free: 2.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3756, allocations: 4 kB / 1.375 GB, free: 2.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003201/0.3759, allocations: 67.83 kB / 1.375 GB, free: 2.023 MB / 1.061 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.0001724/0.3761, allocations: 121.2 kB / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.3768, allocations: 341.2 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3768, allocations: 320 / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.377, allocations: 128.3 kB / 1.375 GB, free: 1.418 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.3774, allocations: 32.53 kB / 1.375 GB, free: 1.387 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.3783, allocations: 451 kB / 1.376 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3784, allocations: 150.7 kB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.3785, allocations: 30.28 kB / 1.376 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.3786, allocations: 23.44 kB / 1.376 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3786, allocations: 0 / 1.376 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of Templates: time 0.007339/0.3859, allocations: 3.095 MB / 1.379 GB, free: 13.66 MB / 1.076 GB " [Timeout remaining time 300] 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 -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/jenkins/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.877954883500934]