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.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001054/0.001054, allocations: 186.6 kB / 321.3 MB, free: 14.64 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.307/1.307, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0007888/0.0007888, allocations: 93.22 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.235e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1809, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6023/0.7833, allocations: 135.5 MB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.7836, allocations: 83.75 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03974/0.8233, allocations: 16.56 MB / 1.04 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8234, allocations: 0 / 1.04 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.989e-05/0.8234, allocations: 27.94 kB / 1.04 GB, free: 1.273 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001846/0.8253, allocations: 1.132 MB / 1.042 GB, free: 156 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8253, allocations: 12.03 kB / 1.042 GB, free: 144 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.8255, allocations: 118.6 kB / 1.042 GB, free: 24 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008006/0.8263, allocations: 0.5917 MB / 1.042 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.8265, allocations: 150.6 kB / 1.042 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.8266, allocations: 91.69 kB / 1.043 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.828, allocations: 0.8761 MB / 1.043 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.828, allocations: 3.906 kB / 1.043 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.8281, allocations: 39.44 kB / 1.043 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.8281, allocations: 24 kB / 1.043 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.8292, allocations: 0.6635 MB / 1.044 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.8332, allocations: 2.847 MB / 1.047 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/0.8342, allocations: 0.5742 MB / 1.047 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.8345, allocations: 254 kB / 1.048 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.8346, allocations: 12.55 kB / 1.048 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006299/0.8352, allocations: 416.8 kB / 1.048 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.835e-06/0.8352, allocations: 3.938 kB / 1.048 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.0009868/0.8362, allocations: 0.5797 MB / 1.049 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.8364, allocations: 298.8 kB / 1.049 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.8372, allocations: 0.7405 MB / 1.05 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.8373, allocations: 39.45 kB / 1.05 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.8376, allocations: 440.8 kB / 1.05 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.8377, allocations: 227 kB / 1.05 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.8378, allocations: 14.69 kB / 1.05 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8379, allocations: 330.7 kB / 1.051 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.8383, allocations: 222.5 kB / 1.051 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.8387, allocations: 372.1 kB / 1.051 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.8391, allocations: 255 kB / 1.051 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8391, allocations: 0 / 1.051 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001008/0.8401, allocations: 0.6949 MB / 1.052 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.8403, allocations: 269.1 kB / 1.052 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.8403, allocations: 0 / 1.052 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.8403, allocations: 4 kB / 1.052 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.8409, allocations: 162.2 kB / 1.053 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.841, allocations: 7.938 kB / 1.053 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.8416, allocations: 164.3 kB / 1.053 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.8416, allocations: 19.31 kB / 1.053 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.8416, allocations: 4 kB / 1.053 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008321/0.8425, allocations: 0.5588 MB / 1.053 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.8425, allocations: 3.938 kB / 1.053 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.8425, allocations: 7.984 kB / 1.053 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.843, allocations: 130.5 kB / 1.053 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.843, allocations: 7.953 kB / 1.053 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.8435, allocations: 137.3 kB / 1.054 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.8436, allocations: 27.05 kB / 1.054 GB, free: 6.852 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0001618/0.8438, allocations: 150.2 kB / 1.054 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8439, allocations: 94.78 kB / 1.054 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.845, allocations: 0.6776 MB / 1.055 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.845, allocations: 8 kB / 1.055 GB, free: 6.152 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.845, allocations: 3.953 kB / 1.055 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.845, allocations: 3.984 kB / 1.055 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.8471, allocations: 1.699 MB / 1.056 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8471, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.8477, allocations: 150.3 kB / 1.056 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.8477, allocations: 4 kB / 1.056 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.8477, allocations: 25.55 kB / 1.056 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.8477, allocations: 4 kB / 1.056 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8478, allocations: 7.938 kB / 1.056 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.8492, allocations: 1.212 MB / 1.058 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.8494, allocations: 195.9 kB / 1.058 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.8495, allocations: 21.56 kB / 1.058 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.85, allocations: 89.11 kB / 1.058 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.8501, allocations: 55.77 kB / 1.058 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.8502, allocations: 30.36 kB / 1.058 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006285/0.8508, allocations: 0.5706 MB / 1.058 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8508, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007411/0.8516, allocations: 311.4 kB / 1.059 GB, free: 2.691 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001928/0.8518, allocations: 139.2 kB / 1.059 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.8531, allocations: 0.9075 MB / 1.06 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8531, allocations: 7.062 kB / 1.06 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.8535, allocations: 315.3 kB / 1.06 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.8544, allocations: 190.5 kB / 1.06 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.8563, allocations: 1.181 MB / 1.061 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.8568, allocations: 1.018 MB / 1.062 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006412/0.8574, allocations: 162.9 kB / 1.063 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.8576, allocations: 62.73 kB / 1.063 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/0.8576, allocations: 0 / 1.063 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of Templates: time 0.01781/0.8754, allocations: 10.88 MB / 1.073 GB, free: 4.547 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches