Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonToAhu.VAdjPopBreZon_flow.1.|zonToAhu.VAdjPopBreZon_flow.2.|zonToAhu.VAdjPopBreZon_flow.3.|zonToAhu.VAdjPopBreZon_flow.4.|zonToAhu.VAdjAreBreZon_flow.1.|zonToAhu.VAdjAreBreZon_flow.2.|zonToAhu.VAdjAreBreZon_flow.3.|zonToAhu.VAdjAreBreZon_flow.4.|zonToAhu.VZonPri_flow.1.|zonToAhu.VZonPri_flow.2.|zonToAhu.VZonPri_flow.3.|zonToAhu.VZonPri_flow.4.|zonToAhu.VMinOA_flow.1.|zonToAhu.VMinOA_flow.2.|zonToAhu.VMinOA_flow.3.|zonToAhu.VMinOA_flow.4.|zonToAhu.VSumAdjPopBreZon_flow|zonToAhu.VSumAdjAreBreZon_flow|zonToAhu.VSumZonPri_flow|zonToAhu.uOutAirFra_max|ahu.VUncOutAir_flow|ahu.VEffAirOut_flow_min|ahu.effOutAir_normalized",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonToAhu.VAdjPopBreZon_flow.1.|zonToAhu.VAdjPopBreZon_flow.2.|zonToAhu.VAdjPopBreZon_flow.3.|zonToAhu.VAdjPopBreZon_flow.4.|zonToAhu.VAdjAreBreZon_flow.1.|zonToAhu.VAdjAreBreZon_flow.2.|zonToAhu.VAdjAreBreZon_flow.3.|zonToAhu.VAdjAreBreZon_flow.4.|zonToAhu.VZonPri_flow.1.|zonToAhu.VZonPri_flow.2.|zonToAhu.VZonPri_flow.3.|zonToAhu.VZonPri_flow.4.|zonToAhu.VMinOA_flow.1.|zonToAhu.VMinOA_flow.2.|zonToAhu.VMinOA_flow.3.|zonToAhu.VMinOA_flow.4.|zonToAhu.VSumAdjPopBreZon_flow|zonToAhu.VSumAdjAreBreZon_flow|zonToAhu.VSumZonPri_flow|zonToAhu.uOutAirFra_max|ahu.VUncOutAir_flow|ahu.VEffAirOut_flow_min|ahu.effOutAir_normalized",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001255/0.001255, allocations: 193.6 kB / 0.4902 GB, free: 2.23 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.542/1.542, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009049/0.0009049, allocations: 108.8 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 17.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3235, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/0.529, allocations: 152.5 MB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.5295, allocations: 79.94 kB / 1.378 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02185/0.5513, allocations: 9.339 MB / 1.387 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5514, allocations: 0 / 1.387 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.548e-05/0.5515, allocations: 24 kB / 1.387 GB, free: 7.496 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001554/0.553, allocations: 1.071 MB / 1.388 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5531, allocations: 12.56 kB / 1.388 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.5532, allocations: 102.7 kB / 1.389 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5543, allocations: 0.5862 MB / 1.389 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.5543, allocations: 65.98 kB / 1.389 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5545, allocations: 76 kB / 1.389 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5559, allocations: 0.9521 MB / 1.39 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.5559, allocations: 3.984 kB / 1.39 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.556, allocations: 32 kB / 1.39 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.556, allocations: 20 kB / 1.39 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.5573, allocations: 0.9485 MB / 1.391 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.5614, allocations: 2.611 MB / 1.394 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.5623, allocations: 0.4927 MB / 1.394 GB, free: 368 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.5624, allocations: 8.266 kB / 1.394 GB, free: 360 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5624, allocations: 30.84 kB / 1.394 GB, free: 320 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.5624, allocations: 0 / 1.394 GB, free: 320 kB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0009609/0.5634, allocations: 0.6366 MB / 1.395 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.5634, allocations: 55.41 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.5647, allocations: 1.074 MB / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.5648, allocations: 33.7 kB / 1.396 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.5651, allocations: 427.4 kB / 1.396 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/0.5652, allocations: 122.3 kB / 1.397 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.5653, allocations: 8 kB / 1.397 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5654, allocations: 322 kB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.5658, allocations: 292.7 kB / 1.397 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.5662, allocations: 330.3 kB / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.5666, allocations: 320.6 kB / 1.398 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5666, allocations: 7.891 kB / 1.398 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001027/0.5677, allocations: 0.7487 MB / 1.399 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.5677, allocations: 8 kB / 1.399 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5677, allocations: 0 / 1.399 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5677, allocations: 0 / 1.399 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.5681, allocations: 107.9 kB / 1.399 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5682, allocations: 7.969 kB / 1.399 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.5685, allocations: 111 kB / 1.399 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.5686, allocations: 19.98 kB / 1.399 GB, free: 11.67 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (zonToAhu.booToRea[2].u,zonToAhu.booToRea[1].u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003878/0.569, allocations: 326.4 kB / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5691, allocations: 79.02 kB / 1.399 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007425/0.5698, allocations: 0.521 MB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5699, allocations: 4 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5699, allocations: 0 / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5699, allocations: 7.984 kB / 1.4 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.5731, allocations: 2.808 MB / 1.402 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.5732, allocations: 8 kB / 1.402 GB, free: 7.738 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.5734, allocations: 75.89 kB / 1.402 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.5734, allocations: 12 kB / 1.402 GB, free: 7.652 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.5735, allocations: 12 kB / 1.403 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.5735, allocations: 19.92 kB / 1.403 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.5735, allocations: 15.89 kB / 1.403 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.5746, allocations: 1.095 MB / 1.404 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.5749, allocations: 227.9 kB / 1.404 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.575, allocations: 27.98 kB / 1.404 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.5753, allocations: 35.95 kB / 1.404 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.5754, allocations: 51.75 kB / 1.404 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.5754, allocations: 20 kB / 1.404 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009492/0.5764, allocations: 0.8386 MB / 1.405 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5764, allocations: 0 / 1.405 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004564/0.5768, allocations: 143.6 kB / 1.405 GB, free: 4.832 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * 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 Backend phase and start with SimCode phase: time 0.0001688/0.577, allocations: 127.1 kB / 1.405 GB, free: 4.699 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007376/0.5777, allocations: 0.5449 MB / 1.406 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5778, allocations: 0 / 1.406 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.578, allocations: 229.6 kB / 1.406 GB, free: 3.934 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.5786, allocations: 123.2 kB / 1.406 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.5814, allocations: 1.933 MB / 1.408 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.5822, allocations: 1.093 MB / 1.409 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003967/0.5826, allocations: 201.5 kB / 1.409 GB, free: 436 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.5828, allocations: 55.42 kB / 1.409 GB, free: 380 kB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.5828, allocations: 0 / 1.409 GB, free: 380 kB / 0.9011 GB Notification: Performance of Templates: time 0.01322/0.596, allocations: 6.534 MB / 1.415 GB, free: 9.941 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches