Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conLoo.TCooSet|conLoo.TZon|conLoo.THeaSet|conLoo.yCoo|conLoo.yHea",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.428/2.428, allocations: 393.5 MB / 408.5 MB, free: 11.03 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.001033/0.001033, allocations: 179.2 kB / 0.4902 GB, free: 2.242 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.677/1.677, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.0008563/0.0008562, allocations: 108.3 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.000403, allocations: 6.969 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3168, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.5168, allocations: 152.7 MB / 1.378 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.5171, allocations: 71.95 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02494/0.542, allocations: 9.736 MB / 1.388 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.057e-06/0.5421, allocations: 0 / 1.388 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.615e-05/0.5421, allocations: 12 kB / 1.388 GB, free: 6.992 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002031/0.5442, allocations: 0.9563 MB / 1.389 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/0.5443, allocations: 12.52 kB / 1.389 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.5444, allocations: 91.05 kB / 1.389 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.5455, allocations: 0.5487 MB / 1.39 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.5456, allocations: 49.31 kB / 1.39 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5458, allocations: 68 kB / 1.39 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.5471, allocations: 0.6401 MB / 1.39 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5472, allocations: 3.938 kB / 1.39 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.5472, allocations: 27.98 kB / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5472, allocations: 16 kB / 1.39 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.5482, allocations: 477 kB / 1.391 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.5514, allocations: 1.965 MB / 1.393 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5526, allocations: 0.598 MB / 1.393 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.5527, allocations: 4 kB / 1.393 GB, free: 1.371 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006689/0.5533, allocations: 325.3 kB / 1.394 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=51): time 3.627e-06/0.5533, allocations: 0 / 1.394 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51): time 0.001477/0.5548, allocations: 0.7249 MB / 1.394 GB, free: 312 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.5549, allocations: 115.2 kB / 1.394 GB, free: 172 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.5556, allocations: 449.2 kB / 1.395 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.5556, allocations: 49.69 kB / 1.395 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.5559, allocations: 300.8 kB / 1.395 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.556, allocations: 150 kB / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.5561, allocations: 12 kB / 1.395 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.5563, allocations: 366.8 kB / 1.396 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.5567, allocations: 185 kB / 1.396 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.5572, allocations: 310.9 kB / 1.396 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.5576, allocations: 198.1 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5576, allocations: 0 / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009888/0.5586, allocations: 0.5453 MB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000309/0.5589, allocations: 0.6105 MB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.559, allocations: 4 kB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.407e-05/0.559, allocations: 7.938 kB / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.5594, allocations: 95.81 kB / 1.398 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5594, allocations: 4 kB / 1.398 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.5598, allocations: 87.48 kB / 1.398 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.5599, allocations: 20 kB / 1.398 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.5599, allocations: 4 kB / 1.398 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006938/0.5606, allocations: 417.2 kB / 1.398 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.5606, allocations: 0 / 1.398 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-06/0.5606, allocations: 4 kB / 1.398 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.5609, allocations: 79.98 kB / 1.398 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.5609, allocations: 8 kB / 1.398 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.5612, allocations: 71.64 kB / 1.398 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.5613, allocations: 16 kB / 1.398 GB, free: 12.11 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,$PRE.conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disCoo.t_next,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$PRE.conLoo.enaHeaLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.u,conLoo.disCoo.y,conLoo.disHea.u,conLoo.disHea.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0003804/0.5616, allocations: 296.3 kB / 1.399 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.5617, allocations: 67.17 kB / 1.399 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.5619, allocations: 61.58 kB / 1.399 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.5619, allocations: 7.953 kB / 1.399 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5619, allocations: 4 kB / 1.399 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.5619, allocations: 3.984 kB / 1.399 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.564, allocations: 1.357 MB / 1.4 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.564, allocations: 0 / 1.4 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.5643, allocations: 71.89 kB / 1.4 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.5643, allocations: 11.95 kB / 1.4 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.5644, allocations: 7.984 kB / 1.4 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5644, allocations: 4 kB / 1.4 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5644, allocations: 0 / 1.4 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.5659, allocations: 0.9159 MB / 1.401 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.5661, allocations: 140.4 kB / 1.401 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.5661, allocations: 19.95 kB / 1.401 GB, free: 9.055 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.5665, allocations: 60 kB / 1.401 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.5666, allocations: 56.34 kB / 1.401 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.5667, allocations: 19.98 kB / 1.401 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004507/0.5671, allocations: 346.9 kB / 1.402 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5671, allocations: 4 kB / 1.402 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006241/0.5678, allocations: 215.2 kB / 1.402 GB, free: 8.371 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conLoo.cooCon.I.y,conLoo.heaCon.I.y) * Number of discrete variables: 20 (conLoo.disCoo.u,conLoo.disHea.u,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,conLoo.enaHeaLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.y,conLoo.disCoo.t_next,conLoo.disHea.y,conLoo.disHea.t_next,conLoo.zerCon.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 6 (conLoo.disHea.t_next,conLoo.disCoo.t_next,conLoo.zerCon1.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,conLoo.zerCon.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001921/0.568, allocations: 144.8 kB / 1.402 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.5692, allocations: 0.7006 MB / 1.403 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5693, allocations: 4.062 kB / 1.403 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.5697, allocations: 278.3 kB / 1.403 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.5702, allocations: 103.7 kB / 1.403 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.5721, allocations: 1.228 MB / 1.404 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.5725, allocations: 0.8955 MB / 1.405 GB, free: 4.961 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003249/0.5729, allocations: 72.86 kB / 1.405 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.573, allocations: 51.42 kB / 1.405 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.573, allocations: 0 / 1.405 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of Templates: time 0.01168/0.5847, allocations: 6.061 MB / 1.411 GB, free: 14.84 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches