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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 387.1 MB / 399.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 176.1 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008918/0.0008916, allocations: 102.6 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.996e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3068, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.355, allocations: 152.6 MB / 1.361 GB, free: 18.83 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.356, allocations: 90.12 kB / 1.361 GB, free: 18.83 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01201/1.368, allocations: 4.728 MB / 1.366 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.074e-06/1.368, allocations: 0 / 1.366 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.839e-05/1.368, allocations: 7.625 kB / 1.366 GB, free: 34.2 MB / 0.8386 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.0007556/1.369, allocations: 0.5378 MB / 1.367 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.369, allocations: 11.56 kB / 1.367 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/1.369, allocations: 35.12 kB / 1.367 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/1.369, allocations: 264.1 kB / 1.367 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/1.369, allocations: 29.41 kB / 1.367 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/1.369, allocations: 33.97 kB / 1.367 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/1.37, allocations: 308.2 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.37, allocations: 0 / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/1.37, allocations: 14.44 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/1.37, allocations: 15.67 kB / 1.367 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/1.37, allocations: 220.9 kB / 1.368 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/1.371, allocations: 0.9442 MB / 1.368 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/1.372, allocations: 235.2 kB / 1.369 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.372, allocations: 114.8 kB / 1.369 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/1.372, allocations: 3.781 kB / 1.369 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/1.372, allocations: 164.3 kB / 1.369 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/1.372, allocations: 0 / 1.369 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0004032/1.373, allocations: 234.4 kB / 1.369 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/1.373, allocations: 58.23 kB / 1.369 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/1.373, allocations: 175.2 kB / 1.369 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/1.373, allocations: 43.69 kB / 1.369 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/1.373, allocations: 157.8 kB / 1.37 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/1.373, allocations: 84.39 kB / 1.37 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/1.373, allocations: 7.188 kB / 1.37 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.373, allocations: 331.2 kB / 1.37 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/1.373, allocations: 91.36 kB / 1.37 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/1.374, allocations: 152.7 kB / 1.37 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/1.374, allocations: 111.8 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.374, allocations: 3.844 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004224/1.374, allocations: 324.6 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.374, allocations: 33.42 kB / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.374, allocations: 0 / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.374, allocations: 8.062 kB / 1.371 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/1.375, allocations: 46.42 kB / 1.371 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.375, allocations: 7.828 kB / 1.371 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/1.375, allocations: 53.97 kB / 1.371 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/1.375, allocations: 14.11 kB / 1.371 GB, free: 31.97 MB / 0.8386 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,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.375, allocations: 149.5 kB / 1.371 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/1.375, allocations: 19.38 kB / 1.371 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004001/1.375, allocations: 268.4 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.375, allocations: 3.812 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.375, allocations: 0 / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/1.375, allocations: 3.953 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/1.376, allocations: 0.713 MB / 1.372 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.376, allocations: 0 / 1.372 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/1.376, allocations: 39.73 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.376, allocations: 7.797 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.376, allocations: 6.453 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.376, allocations: 4 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.376, allocations: 3.812 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/1.377, allocations: 336.2 kB / 1.372 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/1.377, allocations: 103.1 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/1.377, allocations: 6.766 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/1.377, allocations: 42.94 kB / 1.372 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.377, allocations: 41.66 kB / 1.372 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/1.377, allocations: 13.27 kB / 1.372 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.539e-05/1.377, allocations: 129.9 kB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.377, allocations: 0 / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002932/1.378, allocations: 56.81 kB / 1.373 GB, free: 31.11 MB / 0.8386 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.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * 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 (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.0001769/1.378, allocations: 144.7 kB / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004036/1.378, allocations: 297.8 kB / 1.373 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.378, allocations: 0 / 1.373 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/1.378, allocations: 118.9 kB / 1.373 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/1.379, allocations: 27.44 kB / 1.373 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/1.379, allocations: 330.2 kB / 1.374 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.38, allocations: 0.7672 MB / 1.374 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001083/1.38, allocations: 27.27 kB / 1.374 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/1.38, allocations: 26.16 kB / 1.374 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.38, allocations: 3.844 kB / 1.374 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.00559/1.385, allocations: 2.671 MB / 1.377 GB, free: 29.88 MB / 0.8386 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","../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches