Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") [: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.76/1.76, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001051/0.001051, allocations: 189.2 kB / 487 MB, free: 5.336 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.143/1.143, allocations: 221.3 MB / 0.7819 GB, free: 1.316 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.0008674/0.0008674, allocations: 94.06 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.101e-06, allocations: 4 kB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.6588, allocations: 148.9 MB / 1.351 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.659, allocations: 73.77 kB / 1.351 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004018/0.663, allocations: 1.521 MB / 1.352 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.663, allocations: 4 kB / 1.352 GB, free: 15.89 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003974/0.6634, allocations: 412.6 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6635, allocations: 10.53 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.6635, allocations: 14.7 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.6637, allocations: 212.1 kB / 1.353 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6637, allocations: 4.094 kB / 1.353 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.6638, allocations: 11.12 kB / 1.353 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001582/0.6639, allocations: 74.12 kB / 1.353 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.6641, allocations: 99.48 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6641, allocations: 3.938 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.6642, allocations: 0 / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.6642, allocations: 3.344 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.6649, allocations: 483.9 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.665, allocations: 58.06 kB / 1.354 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.6651, allocations: 27.2 kB / 1.354 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.6651, allocations: 5.406 kB / 1.354 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.6651, allocations: 42.84 kB / 1.354 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.6651, allocations: 0.75 kB / 1.354 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001805/0.6653, allocations: 76.92 kB / 1.354 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.433e-05/0.6653, allocations: 53.39 kB / 1.354 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.6654, allocations: 136.1 kB / 1.354 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.6654, allocations: 27.11 kB / 1.354 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.6655, allocations: 117.8 kB / 1.354 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.6655, allocations: 16.86 kB / 1.354 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.6655, allocations: 5.531 kB / 1.354 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.158e-05/0.6656, allocations: 324.3 kB / 1.354 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.6656, allocations: 22.56 kB / 1.354 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.6657, allocations: 36.75 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.6657, allocations: 22.72 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6657, allocations: 0.7812 kB / 1.354 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.6659, allocations: 86.72 kB / 1.355 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.6659, allocations: 5.188 kB / 1.355 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.6659, allocations: 4.031 kB / 1.355 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.6659, allocations: 5.125 kB / 1.355 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.666, allocations: 26.02 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.666, allocations: 1.547 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.6662, allocations: 21.61 kB / 1.355 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.6662, allocations: 6.188 kB / 1.355 GB, free: 14.18 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.035e-05/0.6662, allocations: 110.8 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.6663, allocations: 12.52 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.6665, allocations: 91.73 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6665, allocations: 1.219 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6665, allocations: 3.938 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6665, allocations: 5.719 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.6668, allocations: 356.6 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6668, allocations: 0.75 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.6669, allocations: 22 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.6669, allocations: 10.23 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.6669, allocations: 1.656 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6669, allocations: 5.031 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.667, allocations: 224 / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001366/0.6671, allocations: 194.5 kB / 1.355 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.6671, allocations: 88.41 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.6672, allocations: 1.969 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.6673, allocations: 22.09 kB / 1.355 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.6674, allocations: 18.19 kB / 1.356 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.6674, allocations: 3.094 kB / 1.356 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.996e-05/0.6674, allocations: 110.5 kB / 1.356 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002157/0.6676, allocations: 16.88 kB / 1.356 GB, free: 13.39 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 9.311e-05/0.6677, allocations: 109.4 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.6679, allocations: 59.77 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6679, allocations: 1.031 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.668, allocations: 33.98 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.6682, allocations: 27.42 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.6685, allocations: 149.9 kB / 1.356 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.6687, allocations: 0.7371 MB / 1.357 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of SimCode: time 1.91e-07/0.6687, allocations: 0 / 1.357 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.003452/0.6722, allocations: 1.345 MB / 1.358 GB, free: 12.39 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches