Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") [: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 10.0.0-master/package.mo): time 1.909/1.909, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001004/0.001004, allocations: 177.2 kB / 490.8 MB, free: 1.93 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.244/1.244, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0009009/0.000901, allocations: 91.66 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.791e-05, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2404, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6599/0.9004, allocations: 152.7 MB / 1.361 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.9007, allocations: 85.55 kB / 1.361 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04165/0.9424, allocations: 15.19 MB / 1.376 GB, free: 16.44 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.579e-05/0.9425, allocations: 27.22 kB / 1.376 GB, free: 16.43 MB / 0.823 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.001977/0.9445, allocations: 1.091 MB / 1.377 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9445, allocations: 9.688 kB / 1.377 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.9447, allocations: 114.1 kB / 1.377 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.9456, allocations: 0.5624 MB / 1.377 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.9457, allocations: 119 kB / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.9458, allocations: 53.25 kB / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/0.9471, allocations: 0.5564 MB / 1.378 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.9483, allocations: 0.6947 MB / 1.379 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.9483, allocations: 5.125 kB / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.9484, allocations: 1.312 kB / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.9484, allocations: 20.41 kB / 1.379 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.952, allocations: 2.451 MB / 1.381 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.953, allocations: 0.4892 MB / 1.382 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.9534, allocations: 230.2 kB / 1.382 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.9534, allocations: 14.8 kB / 1.382 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004876/0.9539, allocations: 350.4 kB / 1.382 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=64): time 2.274e-06/0.9539, allocations: 0 / 1.382 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64): time 0.0009061/0.9549, allocations: 475.1 kB / 1.383 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.955, allocations: 300.3 kB / 1.383 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.9555, allocations: 436.7 kB / 1.383 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.9556, allocations: 32.58 kB / 1.383 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.9558, allocations: 328.3 kB / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.9559, allocations: 196.6 kB / 1.384 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.956, allocations: 6.031 kB / 1.384 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.9562, allocations: 374.8 kB / 1.384 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.9566, allocations: 208.6 kB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.9571, allocations: 359.5 kB / 1.385 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/0.9576, allocations: 250.8 kB / 1.385 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9576, allocations: 0 / 1.385 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0012/0.9588, allocations: 0.6249 MB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.959, allocations: 364.3 kB / 1.386 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.959, allocations: 1.281 kB / 1.386 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.9591, allocations: 7.781 kB / 1.386 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.9598, allocations: 154.9 kB / 1.386 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.9598, allocations: 4 kB / 1.386 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/0.9605, allocations: 154.1 kB / 1.386 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.9606, allocations: 25.98 kB / 1.386 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.9606, allocations: 3.844 kB / 1.386 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009668/0.9616, allocations: 0.5086 MB / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.9616, allocations: 1.281 kB / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.9616, allocations: 7.781 kB / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.9621, allocations: 127.8 kB / 1.387 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9621, allocations: 7.812 kB / 1.387 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.9627, allocations: 137.3 kB / 1.387 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.9628, allocations: 21.47 kB / 1.387 GB, free: 27.16 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.0001901/0.963, allocations: 124.6 kB / 1.387 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.9631, allocations: 61.28 kB / 1.387 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009975/0.9641, allocations: 0.5402 MB / 1.388 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9641, allocations: 7.75 kB / 1.388 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9641, allocations: 0 / 1.388 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.9641, allocations: 3.984 kB / 1.388 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.9659, allocations: 1.34 MB / 1.389 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.966, allocations: 1.781 kB / 1.389 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.9666, allocations: 140.1 kB / 1.389 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.9666, allocations: 3.812 kB / 1.389 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.9666, allocations: 8.906 kB / 1.389 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.9666, allocations: 8.547 kB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.9667, allocations: 9.516 kB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001357/0.968, allocations: 0.9899 MB / 1.39 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.9682, allocations: 154.2 kB / 1.391 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-05/0.9683, allocations: 7.078 kB / 1.391 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.9688, allocations: 76.16 kB / 1.391 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.9689, allocations: 41.06 kB / 1.391 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.9689, allocations: 23.81 kB / 1.391 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004441/0.9694, allocations: 330.8 kB / 1.391 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009724/0.9704, allocations: 314.1 kB / 1.391 GB, free: 25.48 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.0002354/0.9706, allocations: 137.5 kB / 1.391 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.9721, allocations: 0.8866 MB / 1.392 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9722, allocations: 1.844 kB / 1.392 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.9726, allocations: 268 kB / 1.393 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.9734, allocations: 137.9 kB / 1.393 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.9757, allocations: 1.018 MB / 1.394 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008028/0.9765, allocations: 1.052 MB / 1.395 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/0.9765, allocations: 1.031 kB / 1.395 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.02409/1.001, allocations: 11.62 MB / 1.406 GB, free: 17.32 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches