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.26/2.26, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001134/0.001134, allocations: 187.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.0009916/0.0009917, allocations: 91.97 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.62e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3368, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.476, allocations: 152.7 MB / 1.368 GB, free: 1.504 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.476, allocations: 66.95 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02476/1.501, allocations: 9.727 MB / 1.377 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.565e-06/1.501, allocations: 4 kB / 1.377 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.123e-05/1.501, allocations: 12 kB / 1.377 GB, free: 9.207 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.001629/1.503, allocations: 0.8572 MB / 1.378 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.503, allocations: 8.031 kB / 1.378 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/1.503, allocations: 79.06 kB / 1.378 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.504, allocations: 0.5558 MB / 1.379 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/1.504, allocations: 52.31 kB / 1.379 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.504, allocations: 68.05 kB / 1.379 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.505, allocations: 0.5913 MB / 1.38 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.506, allocations: 3.938 kB / 1.38 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/1.506, allocations: 31.67 kB / 1.38 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/1.506, allocations: 12 kB / 1.38 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/1.506, allocations: 400.7 kB / 1.38 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/1.51, allocations: 1.962 MB / 1.382 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/1.51, allocations: 0.5091 MB / 1.382 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/1.511, allocations: 240.3 kB / 1.383 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/1.511, allocations: 4 kB / 1.383 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/1.511, allocations: 300 kB / 1.383 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 2.835e-06/1.511, allocations: 0 / 1.383 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0008512/1.512, allocations: 479.4 kB / 1.383 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/1.512, allocations: 114.4 kB / 1.384 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/1.513, allocations: 446.3 kB / 1.384 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/1.513, allocations: 48.27 kB / 1.384 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/1.513, allocations: 299.5 kB / 1.384 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.513, allocations: 143.5 kB / 1.384 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/1.513, allocations: 11.88 kB / 1.384 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.514, allocations: 366.8 kB / 1.385 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/1.514, allocations: 148.6 kB / 1.385 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/1.514, allocations: 273 kB / 1.385 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/1.515, allocations: 165.8 kB / 1.385 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.515, allocations: 0 / 1.385 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007342/1.515, allocations: 478.8 kB / 1.386 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/1.516, allocations: 0.6141 MB / 1.386 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.516, allocations: 4 kB / 1.386 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.516, allocations: 7.984 kB / 1.386 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/1.516, allocations: 87.2 kB / 1.386 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.516, allocations: 8 kB / 1.386 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/1.516, allocations: 88.05 kB / 1.387 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/1.517, allocations: 22.12 kB / 1.387 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/1.517, allocations: 8 kB / 1.387 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006117/1.517, allocations: 392.3 kB / 1.387 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/1.517, allocations: 0 / 1.387 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/1.517, allocations: 7.953 kB / 1.387 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/1.517, allocations: 78.72 kB / 1.387 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.517, allocations: 8.062 kB / 1.387 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/1.518, allocations: 72.84 kB / 1.387 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/1.518, allocations: 22.61 kB / 1.387 GB, free: 1.246 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.0001885/1.518, allocations: 147 kB / 1.387 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/1.518, allocations: 59.25 kB / 1.387 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/1.518, allocations: 63.92 kB / 1.387 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.518, allocations: 15.89 kB / 1.387 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.518, allocations: 0 / 1.387 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/1.518, allocations: 3.984 kB / 1.387 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/1.52, allocations: 1.286 MB / 1.389 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.52, allocations: 4 kB / 1.389 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/1.52, allocations: 67.59 kB / 1.389 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.52, allocations: 11.89 kB / 1.389 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.52, allocations: 14.8 kB / 1.389 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.52, allocations: 0 / 1.389 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.52, allocations: 0 / 1.389 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/1.522, allocations: 0.817 MB / 1.39 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.522, allocations: 142.1 kB / 1.39 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/1.522, allocations: 22.31 kB / 1.39 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/1.522, allocations: 50.83 kB / 1.39 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.522, allocations: 63.2 kB / 1.39 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/1.522, allocations: 23.23 kB / 1.39 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003872/1.523, allocations: 336.5 kB / 1.39 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.523, allocations: 0 / 1.39 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006285/1.523, allocations: 218.6 kB / 1.39 GB, free: 14.66 MB / 0.8542 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.0002199/1.524, allocations: 129 kB / 1.391 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.525, allocations: 0.6437 MB / 1.391 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.525, allocations: 0 / 1.391 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/1.525, allocations: 245.8 kB / 1.391 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/1.526, allocations: 86.42 kB / 1.391 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.527, allocations: 0.7492 MB / 1.392 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/1.528, allocations: 0.9006 MB / 1.393 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004252/1.528, allocations: 96.81 kB / 1.393 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.528, allocations: 51.34 kB / 1.393 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of SimCode: time 2.1e-07/1.528, allocations: 0 / 1.393 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of Templates: time 0.01316/1.541, allocations: 6.846 MB / 1.4 GB, free: 5.395 MB / 0.8542 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