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.OutdoorAirFlow.Validation.OutdoorAirFlow.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.OutdoorAirFlow.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon1.VDesPopBreZon_flow|zon1.VDesAreBreZon_flow|zon1.VUncOutAir_flow|zon1.VPriAir_flow|zon1.yDesPriOutAirFra|zon1.yPriOutAirFra|zon2.VDesPopBreZon_flow|zon2.VDesAreBreZon_flow|zon2.VUncOutAir_flow|zon2.VPriAir_flow|zon2.yDesPriOutAirFra|zon2.yPriOutAirFra|ahu1.VEffOutAir_flow|ahu1.effOutAir_normalized|ahu1.VDesUncOutAir_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon1.VDesPopBreZon_flow|zon1.VDesAreBreZon_flow|zon1.VUncOutAir_flow|zon1.VPriAir_flow|zon1.yDesPriOutAirFra|zon1.yPriOutAirFra|zon2.VDesPopBreZon_flow|zon2.VDesAreBreZon_flow|zon2.VUncOutAir_flow|zon2.VPriAir_flow|zon2.yDesPriOutAirFra|zon2.yPriOutAirFra|ahu1.VEffOutAir_flow|ahu1.effOutAir_normalized|ahu1.VDesUncOutAir_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 249.3 MB / 261.8 MB, free: 5.977 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.0009286/0.0009285, allocations: 182.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.336/1.336, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009737/0.0009736, allocations: 90.42 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.606e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7325/0.9315, allocations: 137.7 MB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.9319, allocations: 83.62 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04701/0.9789, allocations: 18.83 MB / 1.045 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.084e-06/0.979, allocations: 0 / 1.045 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.97e-05/0.9791, allocations: 39.94 kB / 1.045 GB, free: 12.93 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.002833/0.9819, allocations: 1.52 MB / 1.046 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.982, allocations: 8.031 kB / 1.046 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.9823, allocations: 177.8 kB / 1.047 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.9834, allocations: 0.7073 MB / 1.047 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.9835, allocations: 124.5 kB / 1.047 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.9837, allocations: 159.9 kB / 1.047 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.9858, allocations: 1.25 MB / 1.049 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.9858, allocations: 0 / 1.049 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.986, allocations: 71.3 kB / 1.049 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/0.986, allocations: 40 kB / 1.049 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.9877, allocations: 1.042 MB / 1.05 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006773/0.9945, allocations: 4.122 MB / 1.054 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.9963, allocations: 0.8473 MB / 1.055 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.9968, allocations: 274 kB / 1.055 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/0.9968, allocations: 12.77 kB / 1.055 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005647/0.9974, allocations: 373 kB / 1.055 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 3.226e-06/0.9974, allocations: 4 kB / 1.055 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.001134/0.9986, allocations: 0.6536 MB / 1.056 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.9986, allocations: 59.81 kB / 1.056 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.9998, allocations: 0.9167 MB / 1.057 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.9998, allocations: 45.31 kB / 1.057 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/1, allocations: 0.6854 MB / 1.058 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/1.001, allocations: 238.4 kB / 1.058 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/1.001, allocations: 16.75 kB / 1.058 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.001, allocations: 335 kB / 1.058 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/1.001, allocations: 297.1 kB / 1.058 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/1.002, allocations: 429.7 kB / 1.059 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/1.002, allocations: 327.5 kB / 1.059 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.002, allocations: 3.984 kB / 1.059 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001381/1.004, allocations: 0.8743 MB / 1.06 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.004, allocations: 8 kB / 1.06 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.004, allocations: 7.891 kB / 1.06 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.004, allocations: 12.22 kB / 1.06 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/1.005, allocations: 193.6 kB / 1.06 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/1.005, allocations: 7.984 kB / 1.06 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009423/1.006, allocations: 192.8 kB / 1.06 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.006, allocations: 31.05 kB / 1.06 GB, free: 0.6484 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,zon3.occSen.y,zon2.occSen.y,zon1.occSen.y,$PRE.zon1.hys.y,zon1.hys.y,zon1.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon2.nOcc,$PRE.zon3.hys.y,zon3.hys.y,zon3.nOcc,zon3.uWin,$PRE.ahu1.hys1.y,ahu1.hys1.y,$PRE.winSta1.pulseStart,winSta1.pulseStart,ahu1.yReqOutAir,ahu1.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 103 * 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.0001911/1.006, allocations: 157.2 kB / 1.061 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/1.006, allocations: 110.6 kB / 1.061 GB, free: 412 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.007, allocations: 0.7387 MB / 1.061 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/1.007, allocations: 15.89 kB / 1.061 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.007, allocations: 0 / 1.061 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.008, allocations: 3.984 kB / 1.061 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/1.011, allocations: 2.272 MB / 1.064 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.011, allocations: 8 kB / 1.064 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/1.012, allocations: 168.3 kB / 1.064 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/1.012, allocations: 15.98 kB / 1.064 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/1.012, allocations: 22.27 kB / 1.064 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/1.012, allocations: 11.98 kB / 1.064 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.012, allocations: 11.94 kB / 1.064 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/1.013, allocations: 1.214 MB / 1.065 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/1.013, allocations: 217.8 kB / 1.065 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.013, allocations: 25.69 kB / 1.065 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/1.014, allocations: 111.3 kB / 1.065 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.014, allocations: 106.5 kB / 1.066 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/1.014, allocations: 31.38 kB / 1.066 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009199/1.015, allocations: 0.6986 MB / 1.066 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.015, allocations: 0 / 1.066 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008444/1.016, allocations: 281.7 kB / 1.067 GB, free: 11.48 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,zon1.hys.y,zon1.nOcc,zon2.hys.y,zon2.nOcc,zon3.hys.y,zon3.nOcc,zon3.uWin,ahu1.hys1.y,winSta1.pulseStart) * Number of discrete states: 4 (zon3.hys.y,zon2.hys.y,zon1.hys.y,ahu1.hys1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002145/1.016, allocations: 141.1 kB / 1.067 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.018, allocations: 0.6858 MB / 1.067 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/1.018, allocations: 4.125 kB / 1.067 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/1.019, allocations: 0.5439 MB / 1.068 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/1.02, allocations: 185.8 kB / 1.068 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/1.023, allocations: 1.664 MB / 1.07 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/1.023, allocations: 1.21 MB / 1.071 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006508/1.024, allocations: 180.2 kB / 1.071 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/1.024, allocations: 83.42 kB / 1.071 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of SimCode: time 8.51e-07/1.024, allocations: 3.938 kB / 1.071 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of Templates: time 0.01968/1.044, allocations: 9.839 MB / 1.081 GB, free: 13.48 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches