Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.75/1.75, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009166/0.0009166, allocations: 172.3 kB / 487 MB, free: 5.402 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.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008963, allocations: 93.62 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.52e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4963/0.6807, allocations: 151.5 MB / 1.353 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.6809, allocations: 75.14 kB / 1.353 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02347/0.7044, allocations: 9.199 MB / 1.362 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.406e-05/0.7044, allocations: 19.94 kB / 1.362 GB, free: 13.95 MB / 0.8073 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.001289/0.7057, allocations: 0.9323 MB / 1.363 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.7058, allocations: 8.031 kB / 1.363 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.7059, allocations: 83.14 kB / 1.363 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/0.7067, allocations: 0.5234 MB / 1.364 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.7067, allocations: 23.98 kB / 1.364 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.7068, allocations: 51.98 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004777/0.7073, allocations: 304.7 kB / 1.364 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.7079, allocations: 396.2 kB / 1.365 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7079, allocations: 7.875 kB / 1.365 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.7079, allocations: 7.797 kB / 1.365 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.708, allocations: 16 kB / 1.365 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.7098, allocations: 1.414 MB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.7103, allocations: 414.3 kB / 1.366 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.7106, allocations: 161.9 kB / 1.366 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.7106, allocations: 4 kB / 1.366 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.711, allocations: 306.4 kB / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=54): time 1.563e-06/0.711, allocations: 0 / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=54): time 0.0006124/0.7116, allocations: 433.4 kB / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.7116, allocations: 71.7 kB / 1.367 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.7119, allocations: 319.1 kB / 1.368 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.7119, allocations: 40.75 kB / 1.368 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.712, allocations: 209.4 kB / 1.368 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.7121, allocations: 116 kB / 1.368 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.7121, allocations: 4 kB / 1.368 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.7122, allocations: 364 kB / 1.368 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.7125, allocations: 175.4 kB / 1.368 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.7128, allocations: 336.4 kB / 1.369 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.7132, allocations: 186 kB / 1.369 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7132, allocations: 4 kB / 1.369 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008976/0.7141, allocations: 0.5491 MB / 1.369 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.7142, allocations: 4 kB / 1.369 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7142, allocations: 4 kB / 1.369 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.7142, allocations: 8 kB / 1.369 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.7145, allocations: 90.88 kB / 1.37 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7145, allocations: 11.94 kB / 1.37 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.7152, allocations: 175.6 kB / 1.37 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.7153, allocations: 30.05 kB / 1.37 GB, free: 7.633 MB / 0.8073 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.0001341/0.7154, allocations: 155.9 kB / 1.37 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.7155, allocations: 59.33 kB / 1.37 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.7156, allocations: 46.86 kB / 1.37 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7156, allocations: 4 kB / 1.37 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7156, allocations: 7.984 kB / 1.37 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7156, allocations: 0 / 1.37 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.7168, allocations: 1.089 MB / 1.371 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.7168, allocations: 4 kB / 1.371 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.717, allocations: 63.55 kB / 1.371 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.717, allocations: 0 / 1.371 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.7171, allocations: 7.984 kB / 1.371 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7171, allocations: 7.906 kB / 1.371 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7171, allocations: 0 / 1.371 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005674/0.7176, allocations: 0.5514 MB / 1.372 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.7177, allocations: 124.3 kB / 1.372 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/0.7178, allocations: 14.97 kB / 1.372 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.7182, allocations: 91.91 kB / 1.372 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.7184, allocations: 80.98 kB / 1.372 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.7184, allocations: 26.61 kB / 1.372 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001496/0.7186, allocations: 224.7 kB / 1.372 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004025/0.719, allocations: 127.8 kB / 1.372 GB, free: 5.402 MB / 0.8073 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.0001908/0.7192, allocations: 149.3 kB / 1.373 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006666/0.7198, allocations: 0.5188 MB / 1.373 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7198, allocations: 0 / 1.373 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.7202, allocations: 274.7 kB / 1.373 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.7205, allocations: 64.48 kB / 1.373 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.7217, allocations: 0.6796 MB / 1.374 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.7221, allocations: 0.9176 MB / 1.375 GB, free: 19.13 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/0.7221, allocations: 0 / 1.375 GB, free: 19.13 MB / 0.823 GB Notification: Performance of Templates: time 0.01021/0.7323, allocations: 6.996 MB / 1.382 GB, free: 12.25 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches