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.381/1.381, allocations: 249.5 MB / 257 MB, free: 7 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.001024/0.001024, allocations: 180.9 kB / 316.3 MB, free: 3.246 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.503/1.503, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.000844/0.0008439, allocations: 91.88 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.785e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8993/1.159, allocations: 135.8 MB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.159, allocations: 84.34 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03996/1.199, allocations: 16.44 MB / 1.034 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.784e-06/1.199, allocations: 0 / 1.034 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.137e-05/1.2, allocations: 31.98 kB / 1.034 GB, free: 4.438 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.00194/1.202, allocations: 1.124 MB / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.202, allocations: 12.03 kB / 1.035 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/1.202, allocations: 118.6 kB / 1.035 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/1.203, allocations: 0.5953 MB / 1.036 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/1.203, allocations: 119.1 kB / 1.036 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/1.203, allocations: 59.75 kB / 1.036 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001096/1.204, allocations: 0.6082 MB / 1.037 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/1.205, allocations: 0.7426 MB / 1.037 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/1.205, allocations: 11.91 kB / 1.037 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/1.205, allocations: 3.984 kB / 1.037 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/1.205, allocations: 20 kB / 1.037 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/1.209, allocations: 2.619 MB / 1.04 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/1.21, allocations: 0.5477 MB / 1.04 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/1.211, allocations: 236.9 kB / 1.041 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/1.211, allocations: 19.73 kB / 1.041 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006151/1.211, allocations: 394.1 kB / 1.041 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.766e-06/1.211, allocations: 4 kB / 1.041 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.0009038/1.212, allocations: 0.5206 MB / 1.042 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/1.212, allocations: 295.3 kB / 1.042 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/1.213, allocations: 490.7 kB / 1.042 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/1.213, allocations: 25.7 kB / 1.042 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/1.213, allocations: 449.2 kB / 1.043 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/1.214, allocations: 215.6 kB / 1.043 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/1.214, allocations: 0 / 1.043 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.214, allocations: 391.3 kB / 1.043 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/1.214, allocations: 208 kB / 1.044 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/1.215, allocations: 343.3 kB / 1.044 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/1.215, allocations: 242.5 kB / 1.044 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.215, allocations: 0 / 1.044 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009882/1.216, allocations: 0.6208 MB / 1.045 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/1.216, allocations: 274 kB / 1.045 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.216, allocations: 0 / 1.045 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.216, allocations: 4 kB / 1.045 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/1.217, allocations: 166.7 kB / 1.045 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.217, allocations: 4 kB / 1.045 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/1.218, allocations: 123.2 kB / 1.045 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/1.218, allocations: 19.88 kB / 1.045 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.218, allocations: 4 kB / 1.045 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007875/1.219, allocations: 0.494 MB / 1.046 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/1.219, allocations: 0 / 1.046 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/1.219, allocations: 4 kB / 1.046 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/1.219, allocations: 143.2 kB / 1.046 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/1.219, allocations: 4 kB / 1.046 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/1.22, allocations: 87.53 kB / 1.046 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/1.22, allocations: 23.58 kB / 1.046 GB, free: 10.68 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.0001825/1.22, allocations: 120.4 kB / 1.046 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.22, allocations: 71.25 kB / 1.046 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/1.221, allocations: 0.6067 MB / 1.047 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.221, allocations: 8 kB / 1.047 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.221, allocations: 0 / 1.047 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.221, allocations: 7.922 kB / 1.047 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/1.223, allocations: 1.506 MB / 1.048 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.223, allocations: 7.875 kB / 1.048 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/1.224, allocations: 143 kB / 1.048 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.224, allocations: 16.17 kB / 1.048 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/1.224, allocations: 11.98 kB / 1.049 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.224, allocations: 4 kB / 1.049 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.224, allocations: 4 kB / 1.049 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/1.225, allocations: 1.138 MB / 1.05 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/1.225, allocations: 166.4 kB / 1.05 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/1.225, allocations: 8 kB / 1.05 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/1.226, allocations: 71.94 kB / 1.05 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.226, allocations: 64.19 kB / 1.05 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/1.226, allocations: 26.05 kB / 1.05 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004163/1.227, allocations: 372.9 kB / 1.05 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/1.227, allocations: 3.938 kB / 1.05 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008753/1.227, allocations: 314.3 kB / 1.051 GB, free: 6.926 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.0002476/1.228, allocations: 118.6 kB / 1.051 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.229, allocations: 0.8505 MB / 1.052 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.229, allocations: 0 / 1.052 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004528/1.23, allocations: 300.7 kB / 1.052 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/1.23, allocations: 160.5 kB / 1.052 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/1.233, allocations: 1.118 MB / 1.053 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/1.233, allocations: 1.02 MB / 1.054 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006367/1.234, allocations: 133.6 kB / 1.054 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/1.234, allocations: 54.8 kB / 1.054 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of SimCode: time 7.52e-07/1.234, allocations: 0 / 1.054 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of Templates: time 0.01688/1.251, allocations: 8.814 MB / 1.063 GB, free: 11.02 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