Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007629/0.007629, allocations: 100.1 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 184.6 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.03 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3372, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004486/0.3418, allocations: 2.014 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3435, allocations: 0.678 MB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.3437, allocations: 7.938 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.3439, allocations: 35.61 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.3441, allocations: 39.59 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.3447, allocations: 159.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.3453, allocations: 411.2 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.3458, allocations: 247.8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.346, allocations: 135.6 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.3463, allocations: 143.4 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.3464, allocations: 40 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.3465, allocations: 48 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3466, allocations: 91.67 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.3469, allocations: 151.3 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.3475, allocations: 430.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3475, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3475, allocations: 3.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.3475, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 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.001205/0.3487, allocations: 0.6067 MB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3488, allocations: 8.031 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3489, allocations: 28.66 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.3494, allocations: 271.8 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.3495, allocations: 29.03 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.3496, allocations: 32.38 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.3505, allocations: 345.1 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3505, allocations: 0 / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.3505, allocations: 12 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3506, allocations: 4 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.3514, allocations: 250.1 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.3533, allocations: 0.9512 MB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.3542, allocations: 271.4 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.3546, allocations: 120.8 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3546, allocations: 8 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.3552, allocations: 191.7 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/0.3552, allocations: 3.938 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.001146/0.3564, allocations: 337.3 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.3565, allocations: 63.39 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.3568, allocations: 203.3 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.3568, allocations: 41.7 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.357, allocations: 156.5 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3571, allocations: 75 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.3573, allocations: 94.02 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.3576, allocations: 338.8 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.3579, allocations: 104.8 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.3584, allocations: 173.4 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.3591, allocations: 258.6 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.3591, allocations: 0 / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009682/0.3601, allocations: 366.8 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.3602, allocations: 37.69 kB / 1.098 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3602, allocations: 8.156 kB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.3602, allocations: 4 kB / 1.098 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.3605, allocations: 43.91 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.3605, allocations: 4 kB / 1.098 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3609, allocations: 47.66 kB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.3609, allocations: 16 kB / 1.098 GB, free: 7.18 MB / 0.8575 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.0003337/0.3613, allocations: 185.6 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.3614, allocations: 19.81 kB / 1.098 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000889/0.3623, allocations: 300.3 kB / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3623, allocations: 4 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/0.3623, allocations: 0 / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3623, allocations: 4 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.3641, allocations: 0.7408 MB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3641, allocations: 4 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.3643, allocations: 31.92 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.3643, allocations: 0 / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.3644, allocations: 11.98 kB / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.3644, allocations: 3.938 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3644, allocations: 4 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.3653, allocations: 376.1 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3654, allocations: 100.8 kB / 1.099 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.3654, allocations: 4 kB / 1.099 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.3658, allocations: 39.89 kB / 1.099 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.3659, allocations: 43.95 kB / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.366, allocations: 4 kB / 1.1 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001433/0.3661, allocations: 131.8 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3661, allocations: 0 / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006362/0.3668, allocations: 75.83 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$cse1,$cse2,$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 (34): * Single equations (assignments): 28 * 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.00024/0.367, allocations: 123 kB / 1.1 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006676/0.3677, allocations: 334.9 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3677, allocations: 4 kB / 1.1 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.368, allocations: 135.8 kB / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3684, allocations: 47.97 kB / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/0.3693, allocations: 462.3 kB / 1.101 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3697, allocations: 0.7564 MB / 1.102 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.3698, allocations: 26.28 kB / 1.102 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.3699, allocations: 27.42 kB / 1.102 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.3699, allocations: 4 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of Templates: time 0.006914/0.3768, allocations: 3.256 MB / 1.105 GB, free: 15.81 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches