Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.723/1.723, allocations: 390.4 MB / 397.7 MB, free: 1.98 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009518/0.0009519, allocations: 183.1 kB / 490.8 MB, free: 7.559 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.077/1.077, allocations: 221.3 MB / 0.7863 GB, free: 304 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000803/0.000803, allocations: 88.61 kB / 0.9264 GB, free: 0.6797 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.382e-06, allocations: 4 kB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1691, allocations: 143 MB / 1.212 GB, free: 10.49 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.6312, allocations: 152.1 MB / 1.36 GB, free: 9.93 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.6314, allocations: 87.92 kB / 1.36 GB, free: 9.844 MB / 0.8311 GB Notification: Performance of FrontEnd: time 0.01312/0.6445, allocations: 5.794 MB / 1.366 GB, free: 4.055 MB / 0.8311 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.6446, allocations: 16 kB / 1.366 GB, free: 4.039 MB / 0.8311 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.0007401/0.6453, allocations: 0.6235 MB / 1.367 GB, free: 3.371 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.6454, allocations: 8.031 kB / 1.367 GB, free: 3.363 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.6455, allocations: 55.34 kB / 1.367 GB, free: 3.309 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.6459, allocations: 349.7 kB / 1.367 GB, free: 2.93 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6459, allocations: 16 kB / 1.367 GB, free: 2.914 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.646, allocations: 31.89 kB / 1.367 GB, free: 2.883 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004218/0.6464, allocations: 253.9 kB / 1.367 GB, free: 2.633 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.6469, allocations: 340.3 kB / 1.368 GB, free: 2.289 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.6469, allocations: 0 / 1.368 GB, free: 2.289 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.6469, allocations: 0 / 1.368 GB, free: 2.289 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6469, allocations: 8 kB / 1.368 GB, free: 2.281 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.6485, allocations: 1.178 MB / 1.369 GB, free: 1.062 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.6489, allocations: 251.1 kB / 1.369 GB, free: 0.8047 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.6491, allocations: 112.8 kB / 1.369 GB, free: 0.6914 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.6491, allocations: 4 kB / 1.369 GB, free: 0.6875 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.6493, allocations: 167.5 kB / 1.369 GB, free: 0.5039 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.6493, allocations: 4 kB / 1.369 GB, free: 0.5 MB / 0.8311 GB Notification: Performance of matching and sorting (n=26): time 0.000349/0.6497, allocations: 205.8 kB / 1.369 GB, free: 300 kB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.6498, allocations: 136.5 kB / 1.37 GB, free: 132 kB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.65, allocations: 243.4 kB / 1.37 GB, free: 15.88 MB / 0.8467 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.65, allocations: 25.7 kB / 1.37 GB, free: 15.85 MB / 0.8467 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.6501, allocations: 192.2 kB / 1.37 GB, free: 15.66 MB / 0.8467 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.6502, allocations: 82.81 kB / 1.37 GB, free: 15.58 MB / 0.8467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.6502, allocations: 0 / 1.37 GB, free: 15.58 MB / 0.8467 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.6503, allocations: 338.8 kB / 1.37 GB, free: 15.24 MB / 0.8467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.6504, allocations: 72 kB / 1.37 GB, free: 15.17 MB / 0.8467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.6505, allocations: 118.1 kB / 1.371 GB, free: 15.03 MB / 0.8467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.6507, allocations: 82.27 kB / 1.371 GB, free: 14.95 MB / 0.8467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6507, allocations: 3.906 kB / 1.371 GB, free: 14.95 MB / 0.8467 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003171/0.651, allocations: 229.6 kB / 1.371 GB, free: 14.72 MB / 0.8467 GB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.6511, allocations: 188.9 kB / 1.371 GB, free: 14.53 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.6511, allocations: 0 / 1.371 GB, free: 14.53 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6511, allocations: 7.938 kB / 1.371 GB, free: 14.52 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.6513, allocations: 59.91 kB / 1.371 GB, free: 14.46 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.6514, allocations: 0 / 1.371 GB, free: 14.46 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.6516, allocations: 43.81 kB / 1.371 GB, free: 14.42 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.6516, allocations: 12 kB / 1.371 GB, free: 14.41 MB / 0.8467 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.6516, allocations: 4 kB / 1.371 GB, free: 14.4 MB / 0.8467 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000254/0.6519, allocations: 176 kB / 1.371 GB, free: 14.23 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.6519, allocations: 3.984 kB / 1.371 GB, free: 14.23 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-06/0.6519, allocations: 0 / 1.371 GB, free: 14.23 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.6521, allocations: 55.95 kB / 1.371 GB, free: 14.17 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.6521, allocations: 4 kB / 1.371 GB, free: 14.17 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.6523, allocations: 35.72 kB / 1.371 GB, free: 14.13 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6523, allocations: 12 kB / 1.371 GB, free: 14.12 MB / 0.8467 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 7.149e-05/0.6524, allocations: 107.3 kB / 1.372 GB, free: 14.01 MB / 0.8467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.6524, allocations: 31.62 kB / 1.372 GB, free: 13.98 MB / 0.8467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.6528, allocations: 239.7 kB / 1.372 GB, free: 13.74 MB / 0.8467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.6528, allocations: 4 kB / 1.372 GB, free: 13.73 MB / 0.8467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6528, allocations: 0 / 1.372 GB, free: 13.73 MB / 0.8467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6528, allocations: 0 / 1.372 GB, free: 13.73 MB / 0.8467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.6536, allocations: 0.7625 MB / 1.373 GB, free: 12.91 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6536, allocations: 4 kB / 1.373 GB, free: 12.91 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.6539, allocations: 64.11 kB / 1.373 GB, free: 12.84 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6539, allocations: 4 kB / 1.373 GB, free: 12.84 MB / 0.8467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.6539, allocations: 4 kB / 1.373 GB, free: 12.84 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.6539, allocations: 4 kB / 1.373 GB, free: 12.83 MB / 0.8467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6539, allocations: 0 / 1.373 GB, free: 12.83 MB / 0.8467 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005553/0.6545, allocations: 0.5693 MB / 1.373 GB, free: 12.18 MB / 0.8467 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.6546, allocations: 112.7 kB / 1.373 GB, free: 12.05 MB / 0.8467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.6546, allocations: 4 kB / 1.373 GB, free: 12.05 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.6548, allocations: 32.03 kB / 1.373 GB, free: 12.02 MB / 0.8467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.6549, allocations: 23.88 kB / 1.373 GB, free: 12 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.6549, allocations: 8 kB / 1.373 GB, free: 11.99 MB / 0.8467 GB Notification: Performance of sort global known variables: time 0.0001559/0.6551, allocations: 191.1 kB / 1.374 GB, free: 11.8 MB / 0.8467 GB Notification: Performance of remove unused functions: time 0.0004051/0.6555, allocations: 135.2 kB / 1.374 GB, free: 11.67 MB / 0.8467 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.000125/0.6556, allocations: 119.8 kB / 1.374 GB, free: 11.54 MB / 0.8467 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.6561, allocations: 298.1 kB / 1.374 GB, free: 11.25 MB / 0.8467 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6561, allocations: 4 kB / 1.374 GB, free: 11.25 MB / 0.8467 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.6562, allocations: 107.9 kB / 1.374 GB, free: 11.14 MB / 0.8467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.6567, allocations: 111.9 kB / 1.374 GB, free: 11.04 MB / 0.8467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/0.6577, allocations: 0.4954 MB / 1.375 GB, free: 10.49 MB / 0.8467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.6581, allocations: 0.8502 MB / 1.376 GB, free: 9.617 MB / 0.8467 GB Notification: Performance of SimCode: time 2.4e-07/0.6581, allocations: 3.938 kB / 1.376 GB, free: 9.613 MB / 0.8467 GB Notification: Performance of Templates: time 0.008206/0.6664, allocations: 4.594 MB / 1.38 GB, free: 5.098 MB / 0.8467 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow.csv","../files/Buildings_latest_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