Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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_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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001305/0.001305, allocations: 187.3 kB / 498.1 MB, free: 5.684 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.672/1.672, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.0009053/0.0009052, allocations: 102.7 kB / 0.9346 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8.438 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 142.3 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.4961, allocations: 152.1 MB / 1.371 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.4964, allocations: 75.94 kB / 1.372 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04153/0.538, allocations: 15.47 MB / 1.387 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/0.538, allocations: 0 / 1.387 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.164e-05/0.5381, allocations: 28 kB / 1.387 GB, free: 1.629 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002804/0.5409, allocations: 1.171 MB / 1.388 GB, free: 400 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.541, allocations: 15.97 kB / 1.388 GB, free: 384 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.5414, allocations: 118.6 kB / 1.388 GB, free: 264 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5425, allocations: 0.557 MB / 1.388 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.5427, allocations: 151.1 kB / 1.389 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.5429, allocations: 88 kB / 1.389 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.5448, allocations: 0.8775 MB / 1.39 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.5449, allocations: 4 kB / 1.39 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.545, allocations: 32 kB / 1.39 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.545, allocations: 20 kB / 1.39 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.5466, allocations: 0.73 MB / 1.39 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004656/0.5513, allocations: 2.671 MB / 1.393 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.5529, allocations: 0.6661 MB / 1.394 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.5529, allocations: 20.47 kB / 1.394 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008944/0.5538, allocations: 446.1 kB / 1.394 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=64): time 2.675e-06/0.5539, allocations: 4 kB / 1.394 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=64): time 0.001994/0.5559, allocations: 0.8656 MB / 1.395 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.5561, allocations: 299.3 kB / 1.395 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.5571, allocations: 0.6875 MB / 1.396 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.326e-05/0.5572, allocations: 45.7 kB / 1.396 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.5576, allocations: 388.6 kB / 1.396 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.5578, allocations: 209 kB / 1.396 GB, free: 7.25 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.5579, allocations: 16 kB / 1.396 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.558, allocations: 334 kB / 1.397 GB, free: 6.902 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.5587, allocations: 281.9 kB / 1.397 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007578/0.5595, allocations: 444.2 kB / 1.397 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.5602, allocations: 328.9 kB / 1.398 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5602, allocations: 3.953 kB / 1.398 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001704/0.5619, allocations: 0.8415 MB / 1.399 GB, free: 4.961 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.5621, allocations: 396.3 kB / 1.399 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5622, allocations: 0 / 1.399 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.5622, allocations: 4 kB / 1.399 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.5628, allocations: 143.8 kB / 1.399 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.5628, allocations: 8 kB / 1.399 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/0.5636, allocations: 190.9 kB / 1.399 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.5637, allocations: 31.97 kB / 1.399 GB, free: 4.168 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5637, allocations: 4.625 kB / 1.399 GB, free: 4.164 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/0.565, allocations: 0.6496 MB / 1.4 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.565, allocations: 0 / 1.4 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.565, allocations: 7.938 kB / 1.4 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.5655, allocations: 119.8 kB / 1.4 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5656, allocations: 8.062 kB / 1.4 GB, free: 3.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.5663, allocations: 163 kB / 1.4 GB, free: 3.215 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.5664, allocations: 28 kB / 1.4 GB, free: 3.188 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0006503/0.5671, allocations: 312.9 kB / 1.401 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.5673, allocations: 82.97 kB / 1.401 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.569, allocations: 0.7339 MB / 1.401 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.569, allocations: 8 kB / 1.401 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.569, allocations: 8 kB / 1.401 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.569, allocations: 3.984 kB / 1.401 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.572, allocations: 1.63 MB / 1.403 GB, free: 320 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.572, allocations: 0 / 1.403 GB, free: 320 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.5726, allocations: 140 kB / 1.403 GB, free: 180 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.5726, allocations: 4.094 kB / 1.403 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.5727, allocations: 16 kB / 1.403 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.5727, allocations: 7.953 kB / 1.403 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5727, allocations: 3.984 kB / 1.403 GB, free: 148 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5862/1.159, allocations: 1.23 MB / 1.404 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/1.159, allocations: 183.3 kB / 1.405 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/1.159, allocations: 16.92 kB / 1.405 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/1.16, allocations: 83.7 kB / 1.405 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.16, allocations: 50.91 kB / 1.405 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/1.16, allocations: 21.42 kB / 1.405 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007321/1.161, allocations: 0.5324 MB / 1.405 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/1.161, allocations: 3.172 kB / 1.405 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009041/1.162, allocations: 305.6 kB / 1.406 GB, free: 169.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.0002215/1.162, allocations: 148.3 kB / 1.406 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.164, allocations: 1.133 MB / 1.407 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.164, allocations: 0.9062 kB / 1.407 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006448/1.165, allocations: 336.5 kB / 1.407 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007779/1.165, allocations: 166.2 kB / 1.407 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/1.168, allocations: 1.626 MB / 1.409 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/1.168, allocations: 0.9815 MB / 1.41 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004729/1.169, allocations: 113.8 kB / 1.41 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.169, allocations: 69.16 kB / 1.41 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of SimCode: time 5.71e-07/1.169, allocations: 2.156 kB / 1.41 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.0265/1.196, allocations: 9.696 MB / 1.419 GB, free: 167 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_9_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