Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_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.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_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.816/1.816, 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.001001/0.001001, allocations: 184.5 kB / 487 MB, free: 5.391 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.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.0008224/0.0008224, allocations: 97.94 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.8e-06/5.811e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4833/0.6577, allocations: 150.2 MB / 1.352 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.6579, allocations: 79.2 kB / 1.352 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01969/0.6776, allocations: 8.094 MB / 1.36 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.166e-05/0.6777, allocations: 21.81 kB / 1.36 GB, free: 15.08 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001358/0.6791, allocations: 0.8122 MB / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.6791, allocations: 10.67 kB / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.6793, allocations: 77.41 kB / 1.361 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.6803, allocations: 0.5775 MB / 1.361 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.6804, allocations: 24 kB / 1.361 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.6804, allocations: 36 kB / 1.361 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006627/0.6811, allocations: 386 kB / 1.362 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.6817, allocations: 415.6 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6818, allocations: 0 / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.6818, allocations: 4 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.6818, allocations: 12 kB / 1.362 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.684, allocations: 1.552 MB / 1.364 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.6843, allocations: 161 kB / 1.364 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.6844, allocations: 81.72 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.6844, allocations: 0 / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.6844, allocations: 37.66 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.002e-06/0.6844, allocations: 0 / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0003105/0.6848, allocations: 191.6 kB / 1.364 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.6848, allocations: 55.41 kB / 1.364 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.6851, allocations: 385.8 kB / 1.365 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.6851, allocations: 25.7 kB / 1.365 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.6853, allocations: 319.9 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.6853, allocations: 73.47 kB / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.6853, allocations: 0 / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.6854, allocations: 357.5 kB / 1.365 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.6855, allocations: 88.19 kB / 1.365 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.6857, allocations: 216.8 kB / 1.366 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.6859, allocations: 116.7 kB / 1.366 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6859, allocations: 0 / 1.366 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004092/0.6863, allocations: 340.1 kB / 1.366 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.6863, allocations: 7.984 kB / 1.366 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6863, allocations: 4 kB / 1.366 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6863, allocations: 8 kB / 1.366 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.6867, allocations: 95.36 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6867, allocations: 4 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.687, allocations: 54.53 kB / 1.366 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.687, allocations: 18.94 kB / 1.366 GB, free: 10.08 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,$PRE.damLim.noZerMin.greHys.y,damLim.noZerMin.greHys.y,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.212e-05/0.6871, allocations: 128.6 kB / 1.366 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.6871, allocations: 43.44 kB / 1.366 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.6875, allocations: 225 kB / 1.367 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6875, allocations: 7.984 kB / 1.367 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6875, allocations: 3.938 kB / 1.367 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6875, allocations: 3.984 kB / 1.367 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.6883, allocations: 0.7766 MB / 1.367 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6883, allocations: 4 kB / 1.367 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6885, allocations: 67.83 kB / 1.368 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.6885, allocations: 0 / 1.368 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.6886, allocations: 4 kB / 1.368 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6886, allocations: 4 kB / 1.368 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6886, allocations: 3.938 kB / 1.368 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002851/0.6889, allocations: 414.9 kB / 1.368 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.6889, allocations: 123 kB / 1.368 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.689, allocations: 3.984 kB / 1.368 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.6892, allocations: 23.98 kB / 1.368 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.6893, allocations: 35.55 kB / 1.368 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.6893, allocations: 11.75 kB / 1.368 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001973/0.6895, allocations: 268.3 kB / 1.368 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003404/0.6899, allocations: 95.53 kB / 1.368 GB, free: 8.066 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (damLim.noZerMin.greHys.y,damLim1.noZerMin.greHys.y) * Number of discrete states: 2 (damLim1.noZerMin.greHys.y,damLim.noZerMin.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001062/0.69, allocations: 112.5 kB / 1.369 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.6903, allocations: 236.7 kB / 1.369 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6903, allocations: 3.938 kB / 1.369 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.6905, allocations: 89.62 kB / 1.369 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.6911, allocations: 184.1 kB / 1.369 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.6921, allocations: 0.5981 MB / 1.37 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.6924, allocations: 0.9281 MB / 1.371 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.6924, allocations: 0 / 1.371 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.007823/0.7003, allocations: 4.483 MB / 1.375 GB, free: 1.672 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches