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_VOut_flow.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_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow") [: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.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009879/0.0009881, allocations: 169.3 kB / 487 MB, free: 5.344 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.119/1.119, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008581/0.0008581, allocations: 86.45 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.712e-06, allocations: 4 kB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1769, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6812, allocations: 151.2 MB / 1.353 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.6814, allocations: 87.45 kB / 1.353 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01335/0.6948, allocations: 5.799 MB / 1.359 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.6948, allocations: 14.48 kB / 1.359 GB, free: 15.64 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0007099/0.6955, allocations: 0.628 MB / 1.359 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.6956, allocations: 9.844 kB / 1.359 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.458e-05/0.6957, allocations: 47.94 kB / 1.359 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.6961, allocations: 359.7 kB / 1.36 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.6961, allocations: 16.62 kB / 1.36 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.6962, allocations: 24.06 kB / 1.36 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004751/0.6967, allocations: 250.1 kB / 1.36 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.6972, allocations: 341.7 kB / 1.36 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.6973, allocations: 0.6562 kB / 1.36 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.6973, allocations: 1.219 kB / 1.36 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.6973, allocations: 9.719 kB / 1.36 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.6988, allocations: 1.18 MB / 1.362 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.6992, allocations: 238.2 kB / 1.362 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.6993, allocations: 112.3 kB / 1.362 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.6994, allocations: 11.91 kB / 1.362 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.6995, allocations: 163.8 kB / 1.362 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.273e-06/0.6995, allocations: 0 / 1.362 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0003165/0.6999, allocations: 212.4 kB / 1.362 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.6999, allocations: 133 kB / 1.362 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.7001, allocations: 248.5 kB / 1.363 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.7001, allocations: 33.64 kB / 1.363 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.7002, allocations: 197.4 kB / 1.363 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.7003, allocations: 80.14 kB / 1.363 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.7003, allocations: 0 / 1.363 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.7003, allocations: 339.2 kB / 1.363 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.7004, allocations: 68.44 kB / 1.363 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.7005, allocations: 117.5 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.7007, allocations: 84.73 kB / 1.364 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7007, allocations: 7.938 kB / 1.364 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002876/0.701, allocations: 228.3 kB / 1.364 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.701, allocations: 186.3 kB / 1.364 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.701, allocations: 4.031 kB / 1.364 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.701, allocations: 0 / 1.364 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.7013, allocations: 60.22 kB / 1.364 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7013, allocations: 4.516 kB / 1.364 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.7015, allocations: 43.2 kB / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.7015, allocations: 4.797 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-06/0.7015, allocations: 4 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002344/0.7018, allocations: 171.8 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.7018, allocations: 4 kB / 1.364 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-06/0.7018, allocations: 0.5625 kB / 1.364 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.702, allocations: 50.64 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.702, allocations: 7.906 kB / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.7022, allocations: 37.27 kB / 1.364 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.7022, allocations: 7.891 kB / 1.364 GB, free: 11.94 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 5.974e-05/0.7022, allocations: 109.6 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.7023, allocations: 32.22 kB / 1.364 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.7026, allocations: 257.6 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7027, allocations: 0 / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7027, allocations: 4 kB / 1.365 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7027, allocations: 1.688 kB / 1.365 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/0.7034, allocations: 0.76 MB / 1.365 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7034, allocations: 0 / 1.365 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.7036, allocations: 63.89 kB / 1.366 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7037, allocations: 4 kB / 1.366 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.7037, allocations: 0 / 1.366 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.7037, allocations: 12.12 kB / 1.366 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7037, allocations: 4 kB / 1.366 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004691/0.7042, allocations: 0.5622 MB / 1.366 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.7042, allocations: 112.1 kB / 1.366 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.7043, allocations: 8.062 kB / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.7045, allocations: 31.88 kB / 1.366 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.7045, allocations: 19.11 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.7046, allocations: 15.48 kB / 1.366 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001219/0.7047, allocations: 185.6 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003716/0.7051, allocations: 131.3 kB / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 2 ($whenCondition1,damLim.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001033/0.7052, allocations: 119.1 kB / 1.367 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.7056, allocations: 295.8 kB / 1.367 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7056, allocations: 4.125 kB / 1.367 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.7057, allocations: 109.2 kB / 1.367 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.7062, allocations: 111.8 kB / 1.367 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.707, allocations: 0.4918 MB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.7073, allocations: 0.8494 MB / 1.368 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of SimCode: time 2.71e-07/0.7073, allocations: 0 / 1.368 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of Templates: time 0.007207/0.7145, allocations: 4.603 MB / 1.373 GB, free: 3.68 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches