Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relDam.uOutDam_min|relDam.uOutDam|relDam.yRelDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relDam.uOutDam_min|relDam.uOutDam|relDam.yRelDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001096/0.001096, allocations: 173.1 kB / 498.1 MB, free: 5.738 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.517/1.517, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009747/0.0009743, allocations: 104.7 kB / 0.9346 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 12.78 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.5095, allocations: 150.4 MB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.5098, allocations: 75.95 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.5199, allocations: 3.518 MB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.152e-06/0.52, allocations: 4 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.52, allocations: 4 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008928/0.5209, allocations: 0.5163 MB / 1.374 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.521, allocations: 8.031 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.5211, allocations: 19.81 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.5215, allocations: 267.7 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.5216, allocations: 12 kB / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.5216, allocations: 19.94 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.522, allocations: 165.6 kB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.522, allocations: 0 / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.5221, allocations: 7.984 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5221, allocations: 4 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5225, allocations: 155.9 kB / 1.375 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009676/0.5235, allocations: 0.5704 MB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.524, allocations: 138.6 kB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.524, allocations: 4 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.5244, allocations: 131.3 kB / 1.375 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.514e-06/0.5244, allocations: 4 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.000732/0.5251, allocations: 269.4 kB / 1.376 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.5252, allocations: 51.41 kB / 1.376 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.5254, allocations: 173.7 kB / 1.376 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.5254, allocations: 29.7 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.5255, allocations: 139.8 kB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.5255, allocations: 31.56 kB / 1.376 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.5256, allocations: 4 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5257, allocations: 330.8 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.5259, allocations: 95.94 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.5262, allocations: 119.4 kB / 1.377 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.5265, allocations: 117.7 kB / 1.377 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5265, allocations: 0 / 1.377 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006278/0.5271, allocations: 283 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.5272, allocations: 38.31 kB / 1.377 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5272, allocations: 4 kB / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5272, allocations: 4.062 kB / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.5274, allocations: 31.91 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5274, allocations: 4 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.5277, allocations: 67.86 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.5278, allocations: 11.92 kB / 1.377 GB, free: 3.922 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.relDam.greThr.greHys.y,relDam.greThr.greHys.y,relDam.and2.y,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001345/0.5279, allocations: 137.6 kB / 1.377 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.5279, allocations: 15.81 kB / 1.377 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.5285, allocations: 222.8 kB / 1.377 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5285, allocations: 4 kB / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5285, allocations: 0 / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5285, allocations: 0 / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.5288, allocations: 273.3 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5288, allocations: 0 / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.5289, allocations: 27.98 kB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.529, allocations: 7.984 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.529, allocations: 0 / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.529, allocations: 4 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.529, allocations: 3.938 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.5295, allocations: 236.5 kB / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.5296, allocations: 88.92 kB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.5296, allocations: 8 kB / 1.378 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.5298, allocations: 27.97 kB / 1.378 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.5298, allocations: 19.97 kB / 1.378 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.5299, allocations: 4 kB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001136/0.53, allocations: 139.2 kB / 1.378 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.53, allocations: 0 / 1.378 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002682/0.5303, allocations: 43.94 kB / 1.378 GB, free: 2.586 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,relDam.greThr.greHys.y,relDam.and2.y,fanStatus.y) * Number of discrete states: 1 (relDam.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002223/0.5305, allocations: 119.2 kB / 1.378 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.5311, allocations: 263.3 kB / 1.379 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5311, allocations: 0 / 1.379 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.5313, allocations: 83.89 kB / 1.379 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.5316, allocations: 36.25 kB / 1.379 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.5323, allocations: 340.3 kB / 1.379 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.5327, allocations: 0.7282 MB / 1.38 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.707e-05/0.5328, allocations: 13.42 kB / 1.38 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.5329, allocations: 23.42 kB / 1.38 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/0.5329, allocations: 0 / 1.38 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of Templates: time 0.006371/0.5393, allocations: 2.284 MB / 1.382 GB, free: 14.7 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches