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.183/2.183, allocations: 390.5 MB / 398 MB, free: 10.9 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.001295/0.001295, allocations: 184.8 kB / 491.2 MB, free: 1.574 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.768/1.768, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009932/0.0009931, allocations: 91.58 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.546e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.404, allocations: 152 MB / 1.361 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/1.404, allocations: 75.17 kB / 1.361 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02453/1.428, allocations: 9.654 MB / 1.37 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/1.429, allocations: 1.969 kB / 1.37 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.879e-05/1.429, allocations: 18.97 kB / 1.37 GB, free: 32.77 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.001423/1.43, allocations: 0.8487 MB / 1.371 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.43, allocations: 15.53 kB / 1.371 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/1.43, allocations: 81.59 kB / 1.371 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/1.431, allocations: 0.5519 MB / 1.372 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/1.431, allocations: 21.72 kB / 1.372 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/1.431, allocations: 44.86 kB / 1.372 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006457/1.432, allocations: 369.7 kB / 1.372 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/1.433, allocations: 0.5075 MB / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/1.433, allocations: 0 / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/1.433, allocations: 3.906 kB / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.433, allocations: 11.69 kB / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/1.435, allocations: 1.834 MB / 1.374 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/1.436, allocations: 477 kB / 1.375 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/1.436, allocations: 217.6 kB / 1.375 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/1.436, allocations: 15.75 kB / 1.375 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/1.437, allocations: 281.6 kB / 1.375 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/1.437, allocations: 0 / 1.375 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.000805/1.438, allocations: 443.9 kB / 1.376 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/1.438, allocations: 109.4 kB / 1.376 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/1.438, allocations: 355.3 kB / 1.376 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/1.438, allocations: 33.23 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/1.439, allocations: 307.9 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.439, allocations: 140.8 kB / 1.377 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/1.439, allocations: 0 / 1.377 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.439, allocations: 360.2 kB / 1.377 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/1.439, allocations: 142.6 kB / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/1.44, allocations: 259.7 kB / 1.377 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/1.44, allocations: 152 kB / 1.378 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.44, allocations: 0 / 1.378 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006074/1.44, allocations: 425.1 kB / 1.378 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003117/1.441, allocations: 0.6263 MB / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.441, allocations: 0 / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.441, allocations: 3.844 kB / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/1.441, allocations: 89.86 kB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.441, allocations: 7.844 kB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/1.442, allocations: 71.66 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/1.442, allocations: 17.33 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/1.442, allocations: 7.875 kB / 1.379 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004827/1.442, allocations: 334 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.442, allocations: 2.297 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.442, allocations: 7.688 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/1.442, allocations: 72.08 kB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.442, allocations: 10.05 kB / 1.379 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/1.443, allocations: 54.97 kB / 1.379 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/1.443, allocations: 21.17 kB / 1.379 GB, free: 29.34 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.0001882/1.443, allocations: 126.2 kB / 1.379 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/1.443, allocations: 54.62 kB / 1.379 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/1.443, allocations: 51.67 kB / 1.379 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.443, allocations: 11.78 kB / 1.379 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.443, allocations: 0 / 1.379 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.443, allocations: 6.531 kB / 1.38 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/1.445, allocations: 1.166 MB / 1.381 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.445, allocations: 4 kB / 1.381 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/1.445, allocations: 77.03 kB / 1.381 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.445, allocations: 0 / 1.381 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/1.445, allocations: 7.891 kB / 1.381 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.445, allocations: 7.891 kB / 1.381 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.445, allocations: 3.844 kB / 1.381 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.446, allocations: 0.7574 MB / 1.381 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/1.446, allocations: 126.6 kB / 1.382 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/1.447, allocations: 10.94 kB / 1.382 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/1.447, allocations: 45.11 kB / 1.382 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.447, allocations: 68.61 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/1.447, allocations: 17.41 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003302/1.447, allocations: 264.6 kB / 1.382 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.447, allocations: 0 / 1.382 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007221/1.448, allocations: 200.2 kB / 1.382 GB, free: 28.41 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.0002048/1.448, allocations: 124.6 kB / 1.382 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000863/1.449, allocations: 0.595 MB / 1.383 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.449, allocations: 3.906 kB / 1.383 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004844/1.45, allocations: 225.7 kB / 1.383 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/1.45, allocations: 79.39 kB / 1.383 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/1.452, allocations: 0.716 MB / 1.384 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/1.452, allocations: 0.8953 MB / 1.385 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004206/1.452, allocations: 90.08 kB / 1.385 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/1.453, allocations: 45.36 kB / 1.385 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.453, allocations: 3.938 kB / 1.385 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.01013/1.463, allocations: 5.997 MB / 1.391 GB, free: 24.77 MB / 0.8386 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