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.352/2.352, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001006/0.001006, allocations: 173 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.498/1.498, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0008534/0.0008539, allocations: 99.88 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.26e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2886, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.368, allocations: 151.8 MB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.368, allocations: 73.83 kB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02218/1.391, allocations: 9.719 MB / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.391, allocations: 0 / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.61e-05/1.391, allocations: 15.62 kB / 1.37 GB, free: 34.17 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.001355/1.392, allocations: 0.8554 MB / 1.371 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.392, allocations: 11.56 kB / 1.371 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/1.392, allocations: 81.44 kB / 1.371 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/1.393, allocations: 0.5501 MB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/1.393, allocations: 51.94 kB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/1.393, allocations: 68.91 kB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/1.394, allocations: 0.5989 MB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.394, allocations: 4 kB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/1.394, allocations: 27.23 kB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.394, allocations: 15.44 kB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/1.395, allocations: 402.1 kB / 1.373 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/1.397, allocations: 1.956 MB / 1.375 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/1.398, allocations: 0.4914 MB / 1.375 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/1.398, allocations: 245.6 kB / 1.375 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/1.399, allocations: 11.17 kB / 1.375 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/1.399, allocations: 293.4 kB / 1.376 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 2.745e-06/1.399, allocations: 0 / 1.376 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.000701/1.4, allocations: 483.8 kB / 1.376 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.4, allocations: 107.1 kB / 1.376 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/1.4, allocations: 448.5 kB / 1.377 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/1.4, allocations: 50.58 kB / 1.377 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/1.4, allocations: 306.9 kB / 1.377 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/1.401, allocations: 149.9 kB / 1.377 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/1.401, allocations: 7 kB / 1.377 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.401, allocations: 369.3 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/1.401, allocations: 145.6 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/1.401, allocations: 274.5 kB / 1.378 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/1.401, allocations: 161.1 kB / 1.378 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.401, allocations: 0 / 1.378 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005958/1.402, allocations: 474.9 kB / 1.379 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/1.402, allocations: 0.6195 MB / 1.379 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.402, allocations: 0 / 1.379 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.402, allocations: 3.844 kB / 1.379 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/1.403, allocations: 95.86 kB / 1.379 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.403, allocations: 3.844 kB / 1.379 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/1.403, allocations: 90.8 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/1.403, allocations: 15.28 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/1.403, allocations: 3.875 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004999/1.404, allocations: 400.6 kB / 1.38 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/1.404, allocations: 0 / 1.38 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/1.404, allocations: 3.906 kB / 1.38 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/1.404, allocations: 80.69 kB / 1.38 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.404, allocations: 10.47 kB / 1.38 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/1.404, allocations: 77.08 kB / 1.38 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/1.404, allocations: 14.66 kB / 1.38 GB, free: 30.66 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.0001322/1.404, allocations: 152.9 kB / 1.38 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/1.404, allocations: 57.5 kB / 1.38 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/1.405, allocations: 58.83 kB / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.405, allocations: 11.7 kB / 1.38 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.405, allocations: 7.953 kB / 1.38 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.405, allocations: 2.766 kB / 1.38 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/1.406, allocations: 1.284 MB / 1.382 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.406, allocations: 0 / 1.382 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/1.406, allocations: 74.73 kB / 1.382 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.406, allocations: 0 / 1.382 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/1.406, allocations: 17.45 kB / 1.382 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.406, allocations: 11.84 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.406, allocations: 0 / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/1.407, allocations: 0.8118 MB / 1.382 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/1.407, allocations: 140.2 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/1.407, allocations: 19.98 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/1.408, allocations: 58.5 kB / 1.383 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.408, allocations: 57.92 kB / 1.383 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/1.408, allocations: 22.42 kB / 1.383 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003297/1.408, allocations: 343.5 kB / 1.383 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.408, allocations: 4 kB / 1.383 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005399/1.409, allocations: 206.6 kB / 1.383 GB, free: 29.7 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.0001745/1.409, allocations: 137 kB / 1.383 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008018/1.41, allocations: 0.6384 MB / 1.384 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.41, allocations: 4.25 kB / 1.384 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/1.41, allocations: 242.7 kB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/1.411, allocations: 99.58 kB / 1.384 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.412, allocations: 0.7536 MB / 1.385 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/1.412, allocations: 0.8945 MB / 1.386 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004228/1.413, allocations: 98.55 kB / 1.386 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.413, allocations: 46.23 kB / 1.386 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.413, allocations: 0 / 1.386 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of Templates: time 0.01057/1.423, allocations: 6.848 MB / 1.393 GB, free: 25.3 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