Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") [: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.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009304/0.0009304, allocations: 171.9 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.118/1.118, 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.0008541/0.0008542, allocations: 102 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.771e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.191, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5113/0.7023, allocations: 151.3 MB / 1.353 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.7025, allocations: 78.17 kB / 1.353 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03293/0.7355, allocations: 15.06 MB / 1.368 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.699e-05/0.7355, allocations: 24.88 kB / 1.368 GB, free: 9.391 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001373/0.7369, allocations: 1.089 MB / 1.369 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.737, allocations: 8.031 kB / 1.369 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.7371, allocations: 122 kB / 1.369 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.7378, allocations: 0.5618 MB / 1.37 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.7378, allocations: 115.1 kB / 1.37 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.7379, allocations: 59.06 kB / 1.37 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008514/0.7388, allocations: 0.5568 MB / 1.37 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.7397, allocations: 0.6957 MB / 1.371 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.7398, allocations: 0 / 1.371 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.7398, allocations: 3.984 kB / 1.371 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.7398, allocations: 20 kB / 1.371 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.7426, allocations: 2.458 MB / 1.373 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.7434, allocations: 487.2 kB / 1.374 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.7437, allocations: 231.3 kB / 1.374 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.7437, allocations: 11.7 kB / 1.374 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.7441, allocations: 362.3 kB / 1.374 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=64): time 1.633e-06/0.7441, allocations: 0 / 1.374 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64): time 0.00066/0.7448, allocations: 472.5 kB / 1.375 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.7448, allocations: 299.1 kB / 1.375 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.7452, allocations: 434.6 kB / 1.376 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.7453, allocations: 33.14 kB / 1.376 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.7454, allocations: 330.7 kB / 1.376 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.7455, allocations: 195.3 kB / 1.376 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.7456, allocations: 4 kB / 1.376 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.7456, allocations: 374.7 kB / 1.376 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.746, allocations: 212.4 kB / 1.377 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.7463, allocations: 354.8 kB / 1.377 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.7468, allocations: 247.7 kB / 1.377 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7468, allocations: 0 / 1.377 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009065/0.7477, allocations: 0.6293 MB / 1.378 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.7478, allocations: 361.1 kB / 1.378 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7478, allocations: 3.906 kB / 1.378 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.7478, allocations: 8 kB / 1.378 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.7483, allocations: 155.2 kB / 1.378 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7484, allocations: 4 kB / 1.378 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.749, allocations: 151.4 kB / 1.378 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.749, allocations: 30.92 kB / 1.379 GB, free: 492 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-06/0.749, allocations: 4 kB / 1.379 GB, free: 488 kB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007832/0.7498, allocations: 0.5101 MB / 1.379 GB, free: 132 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.7498, allocations: 0 / 1.379 GB, free: 132 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.7498, allocations: 4 kB / 1.379 GB, free: 128 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.7503, allocations: 131.3 kB / 1.379 GB, free: 0 / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.304e-05/0.7504, allocations: 4.047 kB / 1.379 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.7509, allocations: 131.5 kB / 1.379 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.7509, allocations: 26.42 kB / 1.379 GB, free: 15.84 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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.0001339/0.7511, allocations: 126 kB / 1.379 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.7512, allocations: 67.19 kB / 1.379 GB, free: 15.65 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.752, allocations: 0.5385 MB / 1.38 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.752, allocations: 8 kB / 1.38 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.752, allocations: 0 / 1.38 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.752, allocations: 3.984 kB / 1.38 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.7534, allocations: 1.343 MB / 1.381 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7535, allocations: 0 / 1.381 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.754, allocations: 142.4 kB / 1.381 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.754, allocations: 4 kB / 1.381 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.7541, allocations: 11.19 kB / 1.381 GB, free: 14.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.7541, allocations: 4 kB / 1.381 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7541, allocations: 3.938 kB / 1.381 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00113/0.7552, allocations: 0.9923 MB / 1.382 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.7553, allocations: 151.3 kB / 1.383 GB, free: 13.15 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.282e-05/0.7554, allocations: 4 kB / 1.383 GB, free: 13.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.7559, allocations: 79.92 kB / 1.383 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.756, allocations: 43.06 kB / 1.383 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.756, allocations: 22.75 kB / 1.383 GB, free: 13.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002927/0.7563, allocations: 327.4 kB / 1.383 GB, free: 12.79 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006499/0.757, allocations: 310.5 kB / 1.383 GB, free: 12.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001781/0.7572, allocations: 141.1 kB / 1.383 GB, free: 12.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.7583, allocations: 0.8865 MB / 1.384 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7583, allocations: 4 kB / 1.384 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.7587, allocations: 268.3 kB / 1.385 GB, free: 11.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.7594, allocations: 140 kB / 1.385 GB, free: 11.44 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.7611, allocations: 1.013 MB / 1.386 GB, free: 10.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/0.7618, allocations: 1.053 MB / 1.387 GB, free: 9.438 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.7618, allocations: 4 kB / 1.387 GB, free: 9.434 MB / 0.823 GB Notification: Performance of Templates: time 0.01756/0.7793, allocations: 11.61 MB / 1.398 GB, free: 14.01 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches