Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 175.3 kB / 316 MB, free: 7.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 0.5667 GB, free: 23.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 91.67 kB / 0.671 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.167e-06, allocations: 4 kB / 0.7808 GB, free: 324 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.5779, allocations: 106.3 MB / 0.8846 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.7449, allocations: 131.6 MB / 1.013 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.7452, allocations: 83.92 kB / 1.013 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.00472/0.75, allocations: 1.531 MB / 1.015 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.75, allocations: 0 / 1.015 GB, free: 6.785 MB / 0.6667 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.0005905/0.7506, allocations: 414.4 kB / 1.015 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.7507, allocations: 11.97 kB / 1.015 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.7507, allocations: 15.81 kB / 1.015 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.751, allocations: 206.8 kB / 1.015 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.7511, allocations: 8.125 kB / 1.015 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.7511, allocations: 8 kB / 1.015 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001903/0.7513, allocations: 80.33 kB / 1.015 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.7515, allocations: 101.4 kB / 1.016 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7516, allocations: 0 / 1.016 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.7516, allocations: 0 / 1.016 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.7516, allocations: 12 kB / 1.016 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.7525, allocations: 465.5 kB / 1.016 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.7527, allocations: 66.53 kB / 1.016 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.7527, allocations: 29 kB / 1.016 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.7528, allocations: 11.98 kB / 1.016 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.7528, allocations: 30.56 kB / 1.016 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.7528, allocations: 0 / 1.016 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.000249/0.7531, allocations: 73.64 kB / 1.016 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.7531, allocations: 55.34 kB / 1.016 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.7533, allocations: 142.9 kB / 1.016 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.7533, allocations: 25.7 kB / 1.016 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.7534, allocations: 123.7 kB / 1.017 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.7535, allocations: 11.81 kB / 1.017 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.7535, allocations: 0 / 1.017 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7536, allocations: 322.7 kB / 1.017 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.7537, allocations: 24 kB / 1.017 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.7538, allocations: 37.72 kB / 1.017 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.7538, allocations: 28.02 kB / 1.017 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7538, allocations: 0 / 1.017 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001558/0.754, allocations: 89.53 kB / 1.017 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.754, allocations: 8 kB / 1.017 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.754, allocations: 0 / 1.017 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7541, allocations: 0 / 1.017 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.7542, allocations: 19.98 kB / 1.017 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7542, allocations: 8.062 kB / 1.017 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.7543, allocations: 19.89 kB / 1.017 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.7544, allocations: 4 kB / 1.017 GB, free: 4.18 MB / 0.6667 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 0.0001139/0.7545, allocations: 108.9 kB / 1.017 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.7545, allocations: 11.91 kB / 1.017 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.7547, allocations: 94.16 kB / 1.017 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7547, allocations: 0 / 1.017 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7547, allocations: 3.938 kB / 1.017 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7547, allocations: 3.906 kB / 1.017 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.7551, allocations: 366.6 kB / 1.018 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7551, allocations: 4 kB / 1.018 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7553, allocations: 23.92 kB / 1.018 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7553, allocations: 7.938 kB / 1.018 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.7553, allocations: 0 / 1.018 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7553, allocations: 0 / 1.018 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7553, allocations: 0 / 1.018 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001831/0.7555, allocations: 201.9 kB / 1.018 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.7555, allocations: 93 kB / 1.018 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.7556, allocations: 4 kB / 1.018 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7557, allocations: 15.98 kB / 1.018 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.7558, allocations: 11.98 kB / 1.018 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.7558, allocations: 4 kB / 1.018 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.821e-05/0.7559, allocations: 111.2 kB / 1.018 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002268/0.7561, allocations: 19.91 kB / 1.018 GB, free: 3.016 MB / 0.6667 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 0.0001351/0.7563, allocations: 99.25 kB / 1.018 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.7564, allocations: 67.92 kB / 1.018 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7564, allocations: 0 / 1.018 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/0.7565, allocations: 28 kB / 1.018 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.7568, allocations: 25.73 kB / 1.018 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.7572, allocations: 151.2 kB / 1.018 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.7575, allocations: 0.7309 MB / 1.019 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/0.7575, allocations: 0 / 1.019 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of Templates: time 0.003791/0.7613, allocations: 1.351 MB / 1.021 GB, free: 0.5664 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_maint.7.0.x_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