Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001635/0.001635, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001829/0.001829, allocations: 212.8 kB / 23 MB, free: 4.965 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.215/3.215, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002046/0.002046, allocations: 67.22 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003446/0.3564, allocations: 1.985 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3578, allocations: 0.7053 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3579, allocations: 7.938 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3581, allocations: 27.61 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3582, allocations: 43.58 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.3587, allocations: 163.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.3592, allocations: 411.3 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.3596, allocations: 212.5 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.3597, allocations: 139.6 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3599, allocations: 143.4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.36, allocations: 40 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.3601, allocations: 44 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3602, allocations: 91.69 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3603, allocations: 119.4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.3608, allocations: 446.4 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3608, allocations: 3.938 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3608, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3608, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 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.001053/0.3619, allocations: 0.5351 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3619, allocations: 8.031 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.3622, allocations: 48.69 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.3626, allocations: 211.7 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.3627, allocations: 29.03 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.3627, allocations: 36.38 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.3634, allocations: 333.3 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3634, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.3635, allocations: 12 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3635, allocations: 8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.3641, allocations: 242.5 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.3656, allocations: 0.7735 MB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.3662, allocations: 258.3 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.3665, allocations: 104.8 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3665, allocations: 4 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.3669, allocations: 179.7 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.3669, allocations: 0 / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.0008854/0.3678, allocations: 357.3 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3679, allocations: 59.41 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.368, allocations: 184.6 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.3681, allocations: 49.69 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3682, allocations: 156.7 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/0.3683, allocations: 79.38 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3684, allocations: 90.11 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3686, allocations: 330.8 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.3689, allocations: 134.5 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.3693, allocations: 203.1 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.3699, allocations: 255.4 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3699, allocations: 3.938 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007472/0.3706, allocations: 396.4 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.3707, allocations: 41.69 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3707, allocations: 0 / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3707, allocations: 7.984 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3709, allocations: 39.91 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3709, allocations: 0 / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.3712, allocations: 59.91 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.3712, allocations: 12 kB / 1.337 GB, free: 6.977 MB / 1.029 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.0002168/0.3714, allocations: 177.6 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.3715, allocations: 23.86 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.3716, allocations: 34.58 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3716, allocations: 0 / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3716, allocations: 4 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.3716, allocations: 23.8 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3716, allocations: 7.984 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.3719, allocations: 31.97 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.372, allocations: 43.88 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009937/0.373, allocations: 369.8 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007658/0.3737, allocations: 446.8 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002714/0.374, allocations: 111.9 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001495/0.3742, allocations: 120 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of Backend: time 6.72e-07/0.3742, allocations: 0 / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009555/0.3751, allocations: 339.2 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of SimCode: time 0.001262/0.3764, allocations: 0.8381 MB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of Templates: time 0.00885/0.3852, allocations: 3.789 MB / 1.343 GB, free: 0.6016 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.023940426995978]