Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fanSta.y|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y|opeMod1.y|VOutMinSet1_flow.y|VOut1_flow.y|damLim1.yOutDam_min|damLim1.yOutDam_max|damLim1.yRetDam_min|damLim1.yRetDam_max|damLim1.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fanSta.y|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y|opeMod1.y|VOutMinSet1_flow.y|VOut1_flow.y|damLim1.yOutDam_min|damLim1.yOutDam_max|damLim1.yRetDam_min|damLim1.yRetDam_max|damLim1.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable") [: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.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009805/0.0009804, allocations: 181.3 kB / 487 MB, free: 5.379 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.000824/0.0008238, allocations: 109.3 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.282e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1771, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.494/0.6711, allocations: 151.4 MB / 1.353 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.6713, allocations: 81.97 kB / 1.353 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02501/0.6964, allocations: 11.37 MB / 1.364 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.147e-05/0.6964, allocations: 16 kB / 1.364 GB, free: 12.39 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.001108/0.6976, allocations: 0.95 MB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.6976, allocations: 9.031 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.6977, allocations: 98.78 kB / 1.365 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/0.6985, allocations: 0.5845 MB / 1.366 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.6985, allocations: 35.55 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.6986, allocations: 51.94 kB / 1.366 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007329/0.6993, allocations: 498.2 kB / 1.367 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.7002, allocations: 0.6288 MB / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.7002, allocations: 3.984 kB / 1.367 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.7002, allocations: 4 kB / 1.367 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.7003, allocations: 20 kB / 1.367 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.7026, allocations: 2.238 MB / 1.369 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.7033, allocations: 469.8 kB / 1.37 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.7035, allocations: 230.6 kB / 1.37 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.7036, allocations: 10.91 kB / 1.37 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.7039, allocations: 287.3 kB / 1.37 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=52): time 1.813e-06/0.7039, allocations: 7.984 kB / 1.37 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52): time 0.0004951/0.7044, allocations: 394.4 kB / 1.371 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.7044, allocations: 246.6 kB / 1.371 GB, free: 7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.7048, allocations: 386.5 kB / 1.371 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.7048, allocations: 29.64 kB / 1.371 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.7049, allocations: 310.2 kB / 1.372 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.705, allocations: 170.8 kB / 1.372 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.705, allocations: 0 / 1.372 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.7051, allocations: 360.3 kB / 1.372 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.7053, allocations: 134.1 kB / 1.372 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.7055, allocations: 250.5 kB / 1.373 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.7057, allocations: 166.5 kB / 1.373 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7057, allocations: 0 / 1.373 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005171/0.7062, allocations: 441.6 kB / 1.373 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.7063, allocations: 0.5325 MB / 1.374 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7063, allocations: 0 / 1.374 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7063, allocations: 4 kB / 1.374 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.7068, allocations: 123.5 kB / 1.374 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.7068, allocations: 7.938 kB / 1.374 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.7072, allocations: 87.62 kB / 1.374 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.7072, allocations: 19.81 kB / 1.374 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-06/0.7072, allocations: 4 kB / 1.374 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004347/0.7077, allocations: 328.6 kB / 1.374 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.7077, allocations: 0 / 1.374 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.7077, allocations: 8.125 kB / 1.374 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.7081, allocations: 114.2 kB / 1.374 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.7081, allocations: 7.906 kB / 1.374 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.7084, allocations: 67.66 kB / 1.374 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.7084, allocations: 22.86 kB / 1.374 GB, free: 3.996 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,damLim1.yEnaMinOut,damLim1.and3.u2,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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 7.72e-05/0.7085, allocations: 116.4 kB / 1.375 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.7086, allocations: 55.34 kB / 1.375 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.7092, allocations: 456.5 kB / 1.375 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7092, allocations: 8 kB / 1.375 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.7092, allocations: 4 kB / 1.375 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7092, allocations: 3.984 kB / 1.375 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.7104, allocations: 1.399 MB / 1.376 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7104, allocations: 0 / 1.376 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.7109, allocations: 119.6 kB / 1.376 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.7109, allocations: 8 kB / 1.376 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.7109, allocations: 11.98 kB / 1.377 GB, free: 2.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7109, allocations: 7.938 kB / 1.377 GB, free: 2.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.711, allocations: 8 kB / 1.377 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000838/0.7118, allocations: 1.095 MB / 1.378 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.7119, allocations: 142.6 kB / 1.378 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.712, allocations: 8 kB / 1.378 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.7124, allocations: 60.02 kB / 1.378 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.7124, allocations: 49.91 kB / 1.378 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.7125, allocations: 19.5 kB / 1.378 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002223/0.7127, allocations: 291.4 kB / 1.378 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005567/0.7133, allocations: 258.5 kB / 1.378 GB, free: 0.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,damLim.yEnaMinOut,damLim1.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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 Backend phase and start with SimCode phase: time 0.0001127/0.7134, allocations: 119.1 kB / 1.378 GB, free: 380 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007092/0.7141, allocations: 0.5829 MB / 1.379 GB, free: 15.99 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7141, allocations: 3.938 kB / 1.379 GB, free: 15.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.7145, allocations: 213.4 kB / 1.379 GB, free: 15.84 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/0.7153, allocations: 222.7 kB / 1.379 GB, free: 15.65 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.717, allocations: 0.965 MB / 1.38 GB, free: 14.74 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/0.7175, allocations: 1.015 MB / 1.381 GB, free: 13.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/0.7176, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.823 GB Notification: Performance of Templates: time 0.01448/0.732, allocations: 8.943 MB / 1.39 GB, free: 4.91 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches