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.159/2.159, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001055/0.001055, allocations: 188.8 kB / 487.4 MB, free: 5.062 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.531/1.531, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 102.6 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.986e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2435, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7809/1.024, allocations: 151.3 MB / 1.354 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/1.025, allocations: 79.55 kB / 1.354 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03499/1.06, allocations: 15.3 MB / 1.369 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/1.06, allocations: 4 kB / 1.369 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.214e-05/1.06, allocations: 23.28 kB / 1.369 GB, free: 33.3 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.002177/1.062, allocations: 1.072 MB / 1.37 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.062, allocations: 11.53 kB / 1.37 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/1.062, allocations: 104.7 kB / 1.37 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/1.063, allocations: 0.5688 MB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-05/1.063, allocations: 119.5 kB / 1.371 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/1.063, allocations: 60.55 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009301/1.064, allocations: 0.5555 MB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.065, allocations: 0.6903 MB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.065, allocations: 3.875 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/1.066, allocations: 0 / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/1.066, allocations: 18.97 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/1.069, allocations: 2.45 MB / 1.374 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/1.069, allocations: 0.5054 MB / 1.375 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/1.07, allocations: 236 kB / 1.375 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/1.07, allocations: 16.34 kB / 1.375 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/1.07, allocations: 366.5 kB / 1.375 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=64): time 1.974e-06/1.07, allocations: 3.938 kB / 1.375 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64): time 0.000714/1.071, allocations: 484.1 kB / 1.376 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/1.071, allocations: 305.6 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/1.071, allocations: 437.5 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/1.071, allocations: 29.67 kB / 1.377 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/1.072, allocations: 405.3 kB / 1.377 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/1.072, allocations: 195.3 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/1.072, allocations: 3.906 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.072, allocations: 373.9 kB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/1.072, allocations: 206.9 kB / 1.378 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/1.073, allocations: 353.8 kB / 1.378 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/1.073, allocations: 251.5 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.073, allocations: 3.781 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009172/1.074, allocations: 0.6163 MB / 1.379 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/1.074, allocations: 401.8 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.074, allocations: 0 / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.074, allocations: 7.844 kB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/1.075, allocations: 150.1 kB / 1.38 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.075, allocations: 15.72 kB / 1.38 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/1.075, allocations: 144.4 kB / 1.38 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/1.076, allocations: 26.58 kB / 1.38 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/1.076, allocations: 3.812 kB / 1.38 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007932/1.076, allocations: 0.5198 MB / 1.38 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/1.076, allocations: 0 / 1.38 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.076, allocations: 3.906 kB / 1.38 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/1.077, allocations: 122 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/1.077, allocations: 3.906 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/1.077, allocations: 124.8 kB / 1.38 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.077, allocations: 22.69 kB / 1.38 GB, free: 28.8 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.0001539/1.078, allocations: 132.7 kB / 1.381 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/1.078, allocations: 62.06 kB / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000779/1.078, allocations: 0.5524 MB / 1.381 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/1.078, allocations: 7.688 kB / 1.381 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.078, allocations: 0 / 1.381 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.078, allocations: 3.984 kB / 1.381 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.08, allocations: 1.346 MB / 1.383 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.08, allocations: 0 / 1.383 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/1.08, allocations: 134.8 kB / 1.383 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.08, allocations: 3.844 kB / 1.383 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.08, allocations: 14.73 kB / 1.383 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.08, allocations: 7.906 kB / 1.383 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.08, allocations: 3.969 kB / 1.383 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.081, allocations: 0.9893 MB / 1.384 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/1.082, allocations: 153.9 kB / 1.384 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/1.082, allocations: 3.875 kB / 1.384 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/1.082, allocations: 74.2 kB / 1.384 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/1.082, allocations: 54.86 kB / 1.384 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/1.082, allocations: 18.78 kB / 1.384 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003047/1.082, allocations: 337.1 kB / 1.384 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.082, allocations: 0 / 1.384 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007213/1.083, allocations: 312.4 kB / 1.385 GB, free: 27.12 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.0001884/1.083, allocations: 134.1 kB / 1.385 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001132/1.085, allocations: 0.9551 MB / 1.386 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.085, allocations: 0 / 1.386 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/1.085, allocations: 261.5 kB / 1.386 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/1.086, allocations: 132.9 kB / 1.386 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/1.087, allocations: 0.9853 MB / 1.387 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/1.088, allocations: 0.9828 MB / 1.388 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004866/1.088, allocations: 118.5 kB / 1.388 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.088, allocations: 53.14 kB / 1.388 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.088, allocations: 3.906 kB / 1.388 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.01268/1.101, allocations: 8.834 MB / 1.397 GB, free: 21.19 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