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.314/2.314, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001331/0.001331, allocations: 171.7 kB / 492.3 MB, free: 0.6328 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.65/1.65, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0009037/0.0009039, allocations: 99.89 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.588e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7597/0.9898, allocations: 152 MB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.9901, allocations: 80.34 kB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03528/1.025, allocations: 15.42 MB / 1.376 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.113e-06/1.025, allocations: 0 / 1.376 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.311e-05/1.025, allocations: 26.7 kB / 1.376 GB, free: 33.51 MB / 0.8386 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.001872/1.027, allocations: 1.068 MB / 1.377 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.027, allocations: 11.53 kB / 1.377 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/1.028, allocations: 107.8 kB / 1.377 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/1.028, allocations: 0.5673 MB / 1.378 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/1.028, allocations: 151.2 kB / 1.378 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/1.029, allocations: 88.28 kB / 1.378 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.03, allocations: 0.8039 MB / 1.379 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.03, allocations: 3.984 kB / 1.379 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/1.03, allocations: 39.97 kB / 1.379 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/1.03, allocations: 19.22 kB / 1.379 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009174/1.031, allocations: 0.598 MB / 1.379 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/1.034, allocations: 2.671 MB / 1.382 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/1.035, allocations: 0.5261 MB / 1.383 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/1.035, allocations: 252.8 kB / 1.383 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/1.035, allocations: 8.25 kB / 1.383 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005101/1.036, allocations: 398.3 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=64): time 3.196e-06/1.036, allocations: 3.984 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64): time 0.0008297/1.037, allocations: 0.5227 MB / 1.384 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/1.037, allocations: 301.8 kB / 1.384 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/1.038, allocations: 0.675 MB / 1.385 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/1.038, allocations: 44.02 kB / 1.385 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/1.038, allocations: 390 kB / 1.385 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/1.038, allocations: 200.6 kB / 1.385 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/1.038, allocations: 13.03 kB / 1.385 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/1.038, allocations: 338.5 kB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/1.039, allocations: 219 kB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/1.039, allocations: 376.8 kB / 1.386 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/1.039, allocations: 274.6 kB / 1.386 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.039, allocations: 3.938 kB / 1.386 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009329/1.04, allocations: 0.7196 MB / 1.387 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.04, allocations: 391.5 kB / 1.387 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.04, allocations: 11.7 kB / 1.388 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.04, allocations: 11.83 kB / 1.388 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/1.041, allocations: 140.9 kB / 1.388 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.041, allocations: 3.656 kB / 1.388 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/1.042, allocations: 189.8 kB / 1.388 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/1.042, allocations: 26.33 kB / 1.388 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/1.042, allocations: 4.969 kB / 1.388 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007873/1.043, allocations: 0.6063 MB / 1.388 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/1.043, allocations: 0 / 1.388 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/1.043, allocations: 3.844 kB / 1.388 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/1.043, allocations: 128.2 kB / 1.389 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/1.043, allocations: 3.844 kB / 1.389 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/1.044, allocations: 160.4 kB / 1.389 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/1.044, allocations: 26.28 kB / 1.389 GB, free: 28.02 MB / 0.8386 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 () * 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.0001447/1.044, allocations: 149.2 kB / 1.389 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/1.044, allocations: 92.86 kB / 1.389 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008838/1.045, allocations: 0.6138 MB / 1.39 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.045, allocations: 3.656 kB / 1.39 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.045, allocations: 3.984 kB / 1.39 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.045, allocations: 3.844 kB / 1.39 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/1.046, allocations: 1.526 MB / 1.391 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.046, allocations: 0 / 1.391 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/1.047, allocations: 135.4 kB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.047, allocations: 8.031 kB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/1.047, allocations: 13.97 kB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.047, allocations: 7.812 kB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/1.047, allocations: 3.953 kB / 1.391 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.048, allocations: 1.053 MB / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/1.048, allocations: 191.2 kB / 1.392 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/1.048, allocations: 18.03 kB / 1.392 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/1.049, allocations: 83.47 kB / 1.393 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/1.049, allocations: 49.73 kB / 1.393 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/1.049, allocations: 26.33 kB / 1.393 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005341/1.049, allocations: 0.5183 MB / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.049, allocations: 0 / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006776/1.05, allocations: 305.2 kB / 1.393 GB, free: 26.25 MB / 0.8386 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 () * 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.0001803/1.05, allocations: 153.2 kB / 1.394 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001221/1.051, allocations: 1.025 MB / 1.395 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.052, allocations: 0 / 1.395 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/1.052, allocations: 277.6 kB / 1.395 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/1.053, allocations: 163 kB / 1.395 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/1.054, allocations: 1.054 MB / 1.396 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/1.055, allocations: 0.9759 MB / 1.397 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005561/1.055, allocations: 151.1 kB / 1.397 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/1.055, allocations: 57.08 kB / 1.397 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.055, allocations: 0 / 1.397 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.01492/1.07, allocations: 10.82 MB / 1.408 GB, free: 16.27 MB / 0.8386 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