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.OutdoorAirFlow.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_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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.754/1.754, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009513/0.0009513, allocations: 189.2 kB / 487 MB, free: 5.371 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0008241/0.0008241, allocations: 94.66 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.923e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4984/0.6896, allocations: 153.8 MB / 1.356 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.6898, allocations: 83.59 kB / 1.356 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03939/0.7292, allocations: 18.7 MB / 1.374 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.765e-05/0.7293, allocations: 32 kB / 1.374 GB, free: 4.543 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.001807/0.7311, allocations: 1.462 MB / 1.375 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.7311, allocations: 8.031 kB / 1.375 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.7313, allocations: 173.8 kB / 1.375 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.732, allocations: 0.677 MB / 1.376 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.7321, allocations: 55.88 kB / 1.376 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.7322, allocations: 99.88 kB / 1.376 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001337/0.7336, allocations: 0.9325 MB / 1.377 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.735, allocations: 0.993 MB / 1.378 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.735, allocations: 0 / 1.378 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.7351, allocations: 3.984 kB / 1.378 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.7352, allocations: 43.91 kB / 1.378 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.74, allocations: 3.593 MB / 1.382 GB, free: 14.12 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.7411, allocations: 0.5919 MB / 1.382 GB, free: 13.69 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.7416, allocations: 316.4 kB / 1.383 GB, free: 13.48 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.7416, allocations: 15.89 kB / 1.383 GB, free: 13.48 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004224/0.7421, allocations: 320.2 kB / 1.383 GB, free: 13.24 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.7421, allocations: 3.938 kB / 1.383 GB, free: 13.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.0008362/0.7429, allocations: 0.5581 MB / 1.383 GB, free: 12.81 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.743, allocations: 60.06 kB / 1.384 GB, free: 12.74 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.7435, allocations: 0.5503 MB / 1.384 GB, free: 12.32 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.7436, allocations: 33.08 kB / 1.384 GB, free: 12.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.744, allocations: 0.5663 MB / 1.385 GB, free: 11.79 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.7442, allocations: 224.4 kB / 1.385 GB, free: 11.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.7442, allocations: 0 / 1.385 GB, free: 11.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7443, allocations: 386.4 kB / 1.385 GB, free: 11.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.7448, allocations: 285.5 kB / 1.386 GB, free: 11.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.7452, allocations: 397.8 kB / 1.386 GB, free: 10.76 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.7458, allocations: 329.5 kB / 1.386 GB, free: 10.54 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7458, allocations: 3.938 kB / 1.386 GB, free: 10.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001242/0.7471, allocations: 0.8122 MB / 1.387 GB, free: 9.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.7471, allocations: 4 kB / 1.387 GB, free: 9.926 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7471, allocations: 4 kB / 1.387 GB, free: 9.922 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7471, allocations: 4 kB / 1.387 GB, free: 9.918 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/0.7479, allocations: 194.6 kB / 1.387 GB, free: 9.734 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.748, allocations: 11.84 kB / 1.387 GB, free: 9.723 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.7487, allocations: 175.2 kB / 1.387 GB, free: 9.551 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.7488, allocations: 26.62 kB / 1.387 GB, free: 9.531 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,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,$PRE.winSta1.y,winSta1.y,ahu1.yReqOutAir,ahu1.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0001468/0.749, allocations: 125.2 kB / 1.388 GB, free: 9.406 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.7491, allocations: 79.05 kB / 1.388 GB, free: 9.328 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009829/0.7501, allocations: 0.6164 MB / 1.388 GB, free: 8.883 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.7501, allocations: 8 kB / 1.388 GB, free: 8.875 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7501, allocations: 4 kB / 1.388 GB, free: 8.871 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7501, allocations: 3.984 kB / 1.388 GB, free: 8.867 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.7525, allocations: 1.86 MB / 1.39 GB, free: 7.387 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.7525, allocations: 4.688 kB / 1.39 GB, free: 7.383 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.7531, allocations: 178.5 kB / 1.39 GB, free: 7.215 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.7532, allocations: 8 kB / 1.39 GB, free: 7.207 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.7532, allocations: 11.98 kB / 1.39 GB, free: 7.195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.7532, allocations: 12 kB / 1.39 GB, free: 7.184 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7532, allocations: 7.938 kB / 1.39 GB, free: 7.176 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001044/0.7543, allocations: 1.092 MB / 1.391 GB, free: 6.051 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.7544, allocations: 175 kB / 1.391 GB, free: 5.871 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.7546, allocations: 8 kB / 1.391 GB, free: 5.863 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.7551, allocations: 91.45 kB / 1.392 GB, free: 5.777 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.7553, allocations: 93.47 kB / 1.392 GB, free: 5.703 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.7553, allocations: 30.69 kB / 1.392 GB, free: 5.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003827/0.7557, allocations: 408.3 kB / 1.392 GB, free: 5.395 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006692/0.7564, allocations: 282.3 kB / 1.392 GB, free: 5.117 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,zon1.hys.y,zon1.nOcc,zon2.hys.y,zon2.nOcc,zon3.hys.y,zon3.nOcc,winSta1.y) * Number of discrete states: 3 (zon2.hys.y,zon1.hys.y,zon3.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.0001874/0.7566, allocations: 135.3 kB / 1.392 GB, free: 4.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009309/0.7575, allocations: 0.6767 MB / 1.393 GB, free: 4.504 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7575, allocations: 4 kB / 1.393 GB, free: 4.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.7584, allocations: 487.3 kB / 1.394 GB, free: 4.176 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.759, allocations: 117.9 kB / 1.394 GB, free: 4.086 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.7618, allocations: 1.534 MB / 1.395 GB, free: 2.609 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/0.7627, allocations: 1.264 MB / 1.396 GB, free: 1.344 MB / 0.823 GB Notification: Performance of SimCode: time 3.21e-07/0.7628, allocations: 4 kB / 1.396 GB, free: 1.34 MB / 0.823 GB Notification: Performance of Templates: time 0.01588/0.7787, allocations: 9.364 MB / 1.406 GB, free: 8.168 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.csv","../files/Buildings_9_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