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.496/2.496, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001101/0.001101, allocations: 181 kB / 498.1 MB, free: 5.797 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.568/1.568, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001081/0.00108, allocations: 98.84 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004894, allocations: 10.11 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.27, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.4693, allocations: 151.9 MB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.4697, allocations: 79.94 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02557/0.4952, allocations: 9.729 MB / 1.381 GB, free: 408 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4953, allocations: 0 / 1.381 GB, free: 408 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.598e-05/0.4954, allocations: 12 kB / 1.381 GB, free: 396 kB / 0.8698 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.002316/0.4977, allocations: 0.9558 MB / 1.382 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4978, allocations: 8.031 kB / 1.382 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.4981, allocations: 83.06 kB / 1.382 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.4993, allocations: 0.5525 MB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.4994, allocations: 49.31 kB / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.4996, allocations: 71.98 kB / 1.383 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.5009, allocations: 0.6324 MB / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.501, allocations: 0 / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.501, allocations: 27.98 kB / 1.383 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.5011, allocations: 16 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5022, allocations: 477 kB / 1.384 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.5056, allocations: 1.958 MB / 1.386 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.5069, allocations: 0.6097 MB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.5069, allocations: 4 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/0.5077, allocations: 329.6 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=51): time 2.735e-06/0.5077, allocations: 0 / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51): time 0.001487/0.5092, allocations: 0.7327 MB / 1.387 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.5093, allocations: 111.2 kB / 1.387 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.5099, allocations: 449.2 kB / 1.388 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/0.51, allocations: 41.7 kB / 1.388 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.5103, allocations: 301 kB / 1.388 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.5104, allocations: 153.9 kB / 1.388 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.5104, allocations: 12 kB / 1.388 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5106, allocations: 366.7 kB / 1.389 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.511, allocations: 189 kB / 1.389 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.5115, allocations: 306.9 kB / 1.389 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.512, allocations: 194.2 kB / 1.389 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.512, allocations: 3.938 kB / 1.389 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001081/0.5131, allocations: 0.553 MB / 1.39 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003737/0.5134, allocations: 0.6105 MB / 1.39 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5135, allocations: 4 kB / 1.39 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.5135, allocations: 4 kB / 1.39 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.5139, allocations: 91.83 kB / 1.39 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.5139, allocations: 4 kB / 1.39 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.5144, allocations: 91.58 kB / 1.391 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.5144, allocations: 19.98 kB / 1.391 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5145, allocations: 5.094 kB / 1.391 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007429/0.5152, allocations: 409.3 kB / 1.391 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5152, allocations: 0 / 1.391 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.5152, allocations: 8.188 kB / 1.391 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.5155, allocations: 79.8 kB / 1.391 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5156, allocations: 4 kB / 1.391 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.5159, allocations: 75.55 kB / 1.391 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.5159, allocations: 16.08 kB / 1.391 GB, free: 5.508 MB / 0.8855 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.0003549/0.5163, allocations: 299.6 kB / 1.391 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.5164, allocations: 55.34 kB / 1.391 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.5165, allocations: 61.58 kB / 1.392 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.5165, allocations: 7.953 kB / 1.392 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5166, allocations: 4 kB / 1.392 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5166, allocations: 0 / 1.392 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.5187, allocations: 1.365 MB / 1.393 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5187, allocations: 0 / 1.393 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.519, allocations: 75.83 kB / 1.393 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.5191, allocations: 7.953 kB / 1.393 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.5191, allocations: 7.984 kB / 1.393 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5191, allocations: 11.98 kB / 1.393 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5191, allocations: 0 / 1.393 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5206, allocations: 0.9081 MB / 1.394 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.5208, allocations: 144.3 kB / 1.394 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.083e-05/0.5209, allocations: 27.94 kB / 1.394 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.5212, allocations: 59.95 kB / 1.394 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.5214, allocations: 56.33 kB / 1.394 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.5214, allocations: 23.98 kB / 1.394 GB, free: 2.309 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004487/0.5219, allocations: 346.9 kB / 1.394 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5219, allocations: 0 / 1.394 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006846/0.5226, allocations: 207.4 kB / 1.395 GB, free: 1.77 MB / 0.8855 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.0002347/0.5228, allocations: 136.8 kB / 1.395 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.5242, allocations: 0.7042 MB / 1.395 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5242, allocations: 4 kB / 1.395 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.5247, allocations: 278.3 kB / 1.396 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.5252, allocations: 92.17 kB / 1.396 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.5272, allocations: 1.232 MB / 1.397 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.5277, allocations: 0.8994 MB / 1.398 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.5281, allocations: 80.83 kB / 1.398 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.5283, allocations: 51.42 kB / 1.398 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of SimCode: time 9.62e-07/0.5283, allocations: 0 / 1.398 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of Templates: time 0.01221/0.5405, allocations: 6.049 MB / 1.404 GB, free: 8.25 MB / 0.9011 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