Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.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.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.VCooMax_flow|ala.yFloSenAla|ala.uDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.VCooMax_flow|ala.yFloSenAla|ala.uDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.729/1.729, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009161/0.0009161, allocations: 183.8 kB / 490.8 MB, free: 1.949 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.073/1.073, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0008091/0.000809, allocations: 105.8 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.71e-06/5.73e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1702, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.6366, allocations: 152.3 MB / 1.36 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.6369, allocations: 74.66 kB / 1.36 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02306/0.6599, allocations: 9.207 MB / 1.369 GB, free: 16.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.5e-05/0.66, allocations: 15.97 kB / 1.369 GB, free: 16.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001825/0.6618, allocations: 0.9255 MB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6619, allocations: 8.938 kB / 1.37 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.6621, allocations: 85 kB / 1.37 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.6632, allocations: 0.5289 MB / 1.371 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.6633, allocations: 21.42 kB / 1.371 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.6634, allocations: 53.03 kB / 1.371 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005994/0.664, allocations: 296.8 kB / 1.371 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.6647, allocations: 397.8 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6647, allocations: 0 / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.6648, allocations: 12.19 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.6648, allocations: 18.44 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.6672, allocations: 1.423 MB / 1.373 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.6678, allocations: 406.3 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.6681, allocations: 167.8 kB / 1.374 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.6681, allocations: 4.156 kB / 1.374 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.6686, allocations: 307.3 kB / 1.374 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 2.134e-06/0.6686, allocations: 0 / 1.374 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0007395/0.6693, allocations: 431.2 kB / 1.374 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.6694, allocations: 59.42 kB / 1.374 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.6697, allocations: 320.6 kB / 1.375 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.6698, allocations: 39.88 kB / 1.375 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.6699, allocations: 218 kB / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.67, allocations: 110.7 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.6701, allocations: 3.375 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6702, allocations: 365.9 kB / 1.375 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.6705, allocations: 178.7 kB / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.6709, allocations: 332.2 kB / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.6714, allocations: 185.7 kB / 1.376 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6714, allocations: 5.719 kB / 1.376 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001056/0.6725, allocations: 0.5477 MB / 1.377 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.6725, allocations: 5.516 kB / 1.377 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6725, allocations: 3.719 kB / 1.377 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6725, allocations: 7.609 kB / 1.377 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.6729, allocations: 93.41 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.6729, allocations: 8.625 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/0.6737, allocations: 174.2 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.6737, allocations: 31.86 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$PRE.ala.truDel3.t_next,$whenCondition7,$PRE.ala.truDel2.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,$PRE.ala.les.lesHys.y,ala.les.lesHys.y,ala.truDel.u,ala.truDel.y,$PRE.ala.greThr.greHys.y,ala.greThr.greHys.y,$PRE.ala.gre.greHys.y,ala.gre.greHys.y,ala.truDel1.u,ala.truDel1.y,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.booToInt1.y,ala.and3.y,ala.assMes1.u,ala.truDel2.u,ala.truDel2.y,$PRE.ala.gre1.greHys.y,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.u,ala.truDel3.y,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,ala.booToInt3.u,$PRE.supFan.y,supFan.y,$PRE.damSta.y,damSta.y,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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.0001593/0.6739, allocations: 157.2 kB / 1.377 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.674, allocations: 55.42 kB / 1.377 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.6741, allocations: 50.53 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6741, allocations: 5.344 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.6741, allocations: 0.6094 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.6741, allocations: 2.438 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.6756, allocations: 1.095 MB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6756, allocations: 8.906 kB / 1.378 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.6758, allocations: 61.98 kB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.6759, allocations: 2.578 kB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.6759, allocations: 13.42 kB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6759, allocations: 2.25 kB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6759, allocations: 4.516 kB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006919/0.6766, allocations: 0.5432 MB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.6767, allocations: 122 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.6768, allocations: 17.56 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.6772, allocations: 85 kB / 1.379 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.6774, allocations: 78.28 kB / 1.379 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.6775, allocations: 31.22 kB / 1.379 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002111/0.6777, allocations: 217.6 kB / 1.379 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004832/0.6782, allocations: 131.2 kB / 1.379 GB, free: 29.18 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 47 (ala.truDel2.u,ala.truDel.u,ala.truDel1.u,ala.truDel3.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,ala.les.lesHys.y,ala.truDel.y,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre.greHys.y,ala.truDel1.y,ala.truDel1.t_next,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.and3.y,ala.assMes1.u,ala.truDel2.y,ala.truDel2.t_next,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.y,ala.truDel3.t_next,ala.cloDam.lesHys.y,ala.booToInt3.u,supFan.y,damSta.y,ala.booToInt1.y) * Number of discrete states: 9 (ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre1.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001968/0.6784, allocations: 146.2 kB / 1.38 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007622/0.6791, allocations: 0.5228 MB / 1.38 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6792, allocations: 3.938 kB / 1.38 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.6795, allocations: 278 kB / 1.38 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.6799, allocations: 68.31 kB / 1.38 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.6813, allocations: 0.6743 MB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/0.6819, allocations: 0.9153 MB / 1.382 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.6819, allocations: 3.938 kB / 1.382 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.0118/0.6937, allocations: 6.987 MB / 1.389 GB, free: 25.11 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches