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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 174.4 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008375/0.0008379, allocations: 94.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.33e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2496, allocations: 106.3 MB / 0.8919 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7933/1.043, allocations: 132.4 MB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.043, allocations: 78 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004325/1.048, allocations: 1.839 MB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/1.048, allocations: 0 / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.288e-05/1.048, allocations: 8 kB / 1.023 GB, free: 0.7148 MB / 0.6355 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.0004601/1.048, allocations: 409 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.048, allocations: 8.031 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/1.048, allocations: 19.8 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/1.048, allocations: 209.6 kB / 1.024 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/1.049, allocations: 15.98 kB / 1.024 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/1.049, allocations: 14.98 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/1.049, allocations: 115.6 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.049, allocations: 7.922 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/1.049, allocations: 3.438 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/1.049, allocations: 4 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/1.049, allocations: 77.19 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/1.05, allocations: 0.5165 MB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/1.05, allocations: 70.47 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/1.05, allocations: 31.23 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/1.05, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/1.05, allocations: 34.61 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/1.05, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002011/1.05, allocations: 86.16 kB / 1.025 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/1.05, allocations: 51.56 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/1.051, allocations: 180.3 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/1.051, allocations: 29.7 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/1.051, allocations: 114.2 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/1.051, allocations: 22.8 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/1.051, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.051, allocations: 331.7 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/1.051, allocations: 21.5 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/1.051, allocations: 47.34 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/1.051, allocations: 25.92 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.051, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001588/1.051, allocations: 99.69 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.051, allocations: 4 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.051, allocations: 96 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/1.051, allocations: 7.875 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/1.051, allocations: 19.98 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.051, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/1.052, allocations: 23.92 kB / 1.026 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/1.052, allocations: 7.438 kB / 1.026 GB, free: 14.25 MB / 0.6511 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 9.456e-05/1.052, allocations: 113.1 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/1.052, allocations: 11.91 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/1.052, allocations: 111 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.052, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.052, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.052, allocations: 0 / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/1.052, allocations: 403.3 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.052, allocations: 4 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/1.053, allocations: 15.98 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.053, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.053, allocations: 4 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.053, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.053, allocations: 4.031 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/1.053, allocations: 210.9 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/1.053, allocations: 92.83 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/1.053, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/1.053, allocations: 19.98 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/1.053, allocations: 18.86 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/1.053, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001242/1.053, allocations: 139 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.053, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002093/1.053, allocations: 16 kB / 1.027 GB, free: 13.11 MB / 0.6511 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.0001496/1.054, allocations: 106.7 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001749/1.054, allocations: 70.38 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.054, allocations: 0 / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/1.054, allocations: 31.11 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/1.054, allocations: 23.23 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/1.055, allocations: 169.8 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.055, allocations: 0.7204 MB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.304e-05/1.055, allocations: 12.77 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/1.055, allocations: 18.88 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.055, allocations: 0 / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.003906/1.059, allocations: 1.444 MB / 1.029 GB, free: 10.59 MB / 0.6511 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