Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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 10.0.0-master/package.mo): time 1.981/1.981, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.001115/0.001115, allocations: 183.8 kB / 490.8 MB, free: 1.98 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.323/1.323, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000976/0.0009761, allocations: 90.92 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.853e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2433, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6729/0.9162, allocations: 150.2 MB / 1.358 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.9166, allocations: 83.86 kB / 1.358 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.004909/0.9215, allocations: 1.556 MB / 1.36 GB, free: 17.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.9215, allocations: 3.219 kB / 1.36 GB, free: 17.09 MB / 0.823 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.0005487/0.9221, allocations: 412.5 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.9222, allocations: 8.188 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.9222, allocations: 16.19 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.9225, allocations: 214.3 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.9225, allocations: 4.156 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.9226, allocations: 6.5 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001886/0.9228, allocations: 76.55 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.923, allocations: 102.3 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.9231, allocations: 3.938 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.9231, allocations: 1.406 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.9231, allocations: 2.844 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/0.924, allocations: 474.8 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.9241, allocations: 63.08 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.9242, allocations: 30.08 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.9242, allocations: 1.312 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.9242, allocations: 44.22 kB / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.9242, allocations: 0 / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002206/0.9245, allocations: 73.47 kB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.9245, allocations: 56.08 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.9247, allocations: 143 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.9247, allocations: 27.98 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.9248, allocations: 114.8 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.9248, allocations: 17.33 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.9248, allocations: 0 / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9249, allocations: 323.8 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.925, allocations: 22.97 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.9251, allocations: 40.23 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.9251, allocations: 24.05 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9251, allocations: 0 / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001448/0.9253, allocations: 84.67 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9253, allocations: 5.688 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.9253, allocations: 0.9688 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9253, allocations: 4.031 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.9255, allocations: 27.64 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.9255, allocations: 7.906 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.9256, allocations: 22.34 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.9256, allocations: 5.781 kB / 1.362 GB, free: 31.37 MB / 0.8386 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 7.638e-05/0.9257, allocations: 107.5 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.9258, allocations: 8.062 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.926, allocations: 102.7 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.926, allocations: 1.281 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.926, allocations: 3.938 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.926, allocations: 0.5625 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.9264, allocations: 365.8 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.9264, allocations: 1.062 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.9265, allocations: 22.78 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9265, allocations: 1 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.9265, allocations: 2.016 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9265, allocations: 1.281 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9265, allocations: 4.031 kB / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001654/0.9267, allocations: 198.1 kB / 1.363 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.9268, allocations: 84.75 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.9268, allocations: 2.156 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.9269, allocations: 25.28 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.927, allocations: 11.27 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.927, allocations: 6.891 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.062e-05/0.9271, allocations: 107.2 kB / 1.363 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002303/0.9273, allocations: 16.41 kB / 1.363 GB, free: 30.58 MB / 0.8386 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.0001372/0.9275, allocations: 113.5 kB / 1.363 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.9276, allocations: 55.31 kB / 1.363 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9277, allocations: 1.594 kB / 1.363 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.9277, allocations: 30.22 kB / 1.363 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.928, allocations: 27.19 kB / 1.364 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.9284, allocations: 157.8 kB / 1.364 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.9288, allocations: 0.7297 MB / 1.364 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.9288, allocations: 1.5 kB / 1.364 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.003941/0.9328, allocations: 1.347 MB / 1.366 GB, free: 29.58 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches