Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001133/0.001132, allocations: 172.2 kB / 498.1 MB, free: 5.73 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.441/1.441, allocations: 223.2 MB / 0.7949 GB, free: 17.86 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.0008078/0.0008078, allocations: 102.5 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003427, allocations: 14.45 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.4765, allocations: 151.7 MB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4769, allocations: 83.94 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02275/0.4996, allocations: 9.349 MB / 1.38 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4997, allocations: 0 / 1.38 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.679e-05/0.4997, allocations: 27.94 kB / 1.38 GB, free: 0.7969 MB / 0.8698 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.001715/0.5015, allocations: 1.073 MB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5015, allocations: 8.031 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.5017, allocations: 106.7 kB / 1.381 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/0.5027, allocations: 0.594 MB / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.5027, allocations: 66 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.5028, allocations: 76 kB / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.5042, allocations: 0.9404 MB / 1.383 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.5043, allocations: 4 kB / 1.383 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.5043, allocations: 39.94 kB / 1.383 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.5044, allocations: 20 kB / 1.383 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.5057, allocations: 0.9524 MB / 1.384 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.5095, allocations: 2.615 MB / 1.387 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.5103, allocations: 495.5 kB / 1.387 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.5103, allocations: 8.281 kB / 1.387 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.5104, allocations: 30.84 kB / 1.387 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 3.436e-06/0.5104, allocations: 0 / 1.387 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0008698/0.5113, allocations: 0.6327 MB / 1.388 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5113, allocations: 51.41 kB / 1.388 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.5125, allocations: 1.086 MB / 1.389 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.5126, allocations: 33.7 kB / 1.389 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.5129, allocations: 427.4 kB / 1.389 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.513, allocations: 114.4 kB / 1.389 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.513, allocations: 12 kB / 1.389 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5131, allocations: 322 kB / 1.39 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.5135, allocations: 288.7 kB / 1.39 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.5139, allocations: 326.3 kB / 1.39 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.5143, allocations: 332.6 kB / 1.391 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5143, allocations: 3.953 kB / 1.391 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009417/0.5152, allocations: 0.7449 MB / 1.391 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5153, allocations: 4 kB / 1.391 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5153, allocations: 4 kB / 1.391 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5153, allocations: 0 / 1.391 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.5157, allocations: 107.8 kB / 1.392 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5157, allocations: 4 kB / 1.392 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.5161, allocations: 119 kB / 1.392 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.5162, allocations: 20.03 kB / 1.392 GB, free: 4.965 MB / 0.8855 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.0003649/0.5165, allocations: 321.6 kB / 1.392 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.5166, allocations: 79.02 kB / 1.392 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006991/0.5173, allocations: 0.5248 MB / 1.393 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5173, allocations: 4 kB / 1.393 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5174, allocations: 4 kB / 1.393 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5174, allocations: 0 / 1.393 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.5205, allocations: 2.816 MB / 1.395 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5205, allocations: 12.22 kB / 1.395 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.5208, allocations: 79.83 kB / 1.395 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.5208, allocations: 12 kB / 1.395 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.5208, allocations: 12 kB / 1.395 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.5208, allocations: 15.98 kB / 1.395 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.5209, allocations: 15.89 kB / 1.395 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/0.5218, allocations: 1.099 MB / 1.397 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.5221, allocations: 220 kB / 1.397 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.5222, allocations: 20 kB / 1.397 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.5225, allocations: 35.95 kB / 1.397 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.5226, allocations: 47.75 kB / 1.397 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.5226, allocations: 28 kB / 1.397 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00099/0.5236, allocations: 0.8425 MB / 1.398 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5236, allocations: 0 / 1.398 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004672/0.5241, allocations: 143.6 kB / 1.398 GB, free: 14.12 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.0001699/0.5243, allocations: 135.6 kB / 1.398 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007107/0.525, allocations: 0.5487 MB / 1.398 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.525, allocations: 4.062 kB / 1.398 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.5253, allocations: 229.2 kB / 1.399 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.5258, allocations: 115.7 kB / 1.399 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.5282, allocations: 1.922 MB / 1.401 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.5289, allocations: 1.093 MB / 1.402 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003813/0.5293, allocations: 201.4 kB / 1.402 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.5294, allocations: 55.42 kB / 1.402 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of SimCode: time 6.21e-07/0.5294, allocations: 4 kB / 1.402 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of Templates: time 0.01151/0.5409, allocations: 6.532 MB / 1.408 GB, free: 3.242 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow.csv","../files/Buildings_9_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