Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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.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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001397/0.001397, allocations: 188.9 kB / 487.4 MB, free: 5.016 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.544/1.544, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 110.4 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.607e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3105, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.363, allocations: 151.2 MB / 1.354 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.363, allocations: 79.39 kB / 1.354 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02379/1.387, allocations: 9.625 MB / 1.363 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.387, allocations: 5.531 kB / 1.363 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.193e-05/1.387, allocations: 11.72 kB / 1.363 GB, free: 33.46 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001897/1.389, allocations: 0.8562 MB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.389, allocations: 7.688 kB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/1.39, allocations: 81.5 kB / 1.364 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.391, allocations: 0.5611 MB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/1.391, allocations: 22 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.391, allocations: 40.05 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007651/1.392, allocations: 372.6 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/1.393, allocations: 0.5113 MB / 1.365 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.393, allocations: 3.938 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/1.393, allocations: 3.844 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.393, allocations: 11.69 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/1.395, allocations: 1.825 MB / 1.367 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/1.396, allocations: 478 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.397, allocations: 222.1 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/1.397, allocations: 11.59 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/1.397, allocations: 279.5 kB / 1.368 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 2.945e-06/1.397, allocations: 0 / 1.368 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0007076/1.398, allocations: 441.6 kB / 1.369 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.398, allocations: 110.9 kB / 1.369 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/1.398, allocations: 356.7 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/1.398, allocations: 32.98 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/1.399, allocations: 311 kB / 1.369 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.399, allocations: 141.5 kB / 1.37 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/1.399, allocations: 0 / 1.37 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.399, allocations: 362.5 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/1.399, allocations: 136.7 kB / 1.37 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/1.399, allocations: 264.4 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/1.4, allocations: 147.6 kB / 1.37 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.4, allocations: 4 kB / 1.37 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000619/1.4, allocations: 431.9 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003377/1.401, allocations: 0.6189 MB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.401, allocations: 3.875 kB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.401, allocations: 7.812 kB / 1.371 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/1.401, allocations: 86.41 kB / 1.372 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.401, allocations: 3.688 kB / 1.372 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/1.401, allocations: 73.91 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/1.402, allocations: 18.5 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/1.402, allocations: 3.812 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004991/1.402, allocations: 338.7 kB / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.402, allocations: 0 / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-06/1.402, allocations: 4.062 kB / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/1.402, allocations: 77.92 kB / 1.372 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.402, allocations: 7.781 kB / 1.372 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/1.403, allocations: 60.52 kB / 1.372 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/1.403, allocations: 18.56 kB / 1.372 GB, free: 30.03 MB / 0.8386 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 () * 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.0001815/1.403, allocations: 126 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/1.403, allocations: 50.47 kB / 1.372 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/1.403, allocations: 50.3 kB / 1.372 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.403, allocations: 7.719 kB / 1.372 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.403, allocations: 3.984 kB / 1.372 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.403, allocations: 2.906 kB / 1.372 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/1.405, allocations: 1.168 MB / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.405, allocations: 0 / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/1.405, allocations: 68.88 kB / 1.374 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.405, allocations: 3.812 kB / 1.374 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/1.405, allocations: 12.55 kB / 1.374 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.405, allocations: 7.812 kB / 1.374 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.405, allocations: 7.891 kB / 1.374 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/1.406, allocations: 0.7516 MB / 1.374 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/1.406, allocations: 129.8 kB / 1.374 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/1.406, allocations: 10.78 kB / 1.374 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/1.407, allocations: 50.66 kB / 1.375 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.407, allocations: 59.14 kB / 1.375 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/1.407, allocations: 25.95 kB / 1.375 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000292/1.407, allocations: 262.8 kB / 1.375 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.21e-07/1.407, allocations: 0 / 1.375 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000649/1.408, allocations: 200 kB / 1.375 GB, free: 29.12 MB / 0.8386 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) * 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.0002296/1.408, allocations: 130.5 kB / 1.375 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008458/1.409, allocations: 0.5986 MB / 1.376 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.409, allocations: 0 / 1.376 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002687/1.409, allocations: 230.2 kB / 1.376 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/1.41, allocations: 83.23 kB / 1.376 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.411, allocations: 0.7109 MB / 1.377 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/1.412, allocations: 0.9062 MB / 1.378 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004796/1.412, allocations: 89.45 kB / 1.378 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/1.412, allocations: 43.28 kB / 1.378 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/1.412, allocations: 4 kB / 1.378 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of Templates: time 0.01301/1.425, allocations: 5.989 MB / 1.384 GB, free: 26.32 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches