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.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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.yRelDam|retFanPre.conP.y|retFanPre.u1SupFan|retFanPre1.dpDisSet|retFanPre1.yRelDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yRelDam|retFanPre2.conP.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.yRelDam|retFanPre.conP.y|retFanPre.u1SupFan|retFanPre1.dpDisSet|retFanPre1.yRelDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yRelDam|retFanPre2.conP.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.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.725/1.725, 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.0008484/0.0008485, allocations: 189.3 kB / 490.8 MB, free: 1.965 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.073/1.073, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0008116/0.0008117, allocations: 95.7 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.4e-06/5.42e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.6116, allocations: 152.5 MB / 1.361 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.6118, allocations: 79.78 kB / 1.361 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04382/0.6557, allocations: 20.49 MB / 1.381 GB, free: 13.99 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.955e-05/0.6558, allocations: 32.53 kB / 1.381 GB, free: 13.98 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002299/0.6581, allocations: 1.437 MB / 1.382 GB, free: 29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.6581, allocations: 12.41 kB / 1.382 GB, free: 29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.6585, allocations: 165.3 kB / 1.382 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.6595, allocations: 0.7469 MB / 1.383 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.6596, allocations: 148.9 kB / 1.383 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.6598, allocations: 88.94 kB / 1.383 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001536/0.6613, allocations: 0.8521 MB / 1.384 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.663, allocations: 1.05 MB / 1.385 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.663, allocations: 5.188 kB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.6631, allocations: 6.375 kB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.6631, allocations: 31.06 kB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005136/0.6683, allocations: 3.909 MB / 1.389 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.6693, allocations: 0.6694 MB / 1.39 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.6697, allocations: 328.9 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.6698, allocations: 26.02 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.6704, allocations: 460.9 kB / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=88): time 2.164e-06/0.6704, allocations: 1.062 kB / 1.39 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88): time 0.001019/0.6714, allocations: 0.6178 MB / 1.391 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.6715, allocations: 379.4 kB / 1.391 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.6722, allocations: 0.6191 MB / 1.392 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.6723, allocations: 32.36 kB / 1.392 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.6725, allocations: 496.8 kB / 1.392 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.6726, allocations: 271.8 kB / 1.393 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.6727, allocations: 5.375 kB / 1.393 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6729, allocations: 394.5 kB / 1.393 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.6733, allocations: 301 kB / 1.393 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.6738, allocations: 492.8 kB / 1.394 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.6745, allocations: 354 kB / 1.394 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6745, allocations: 1.219 kB / 1.394 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001391/0.6759, allocations: 0.8763 MB / 1.395 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.6761, allocations: 0.6237 MB / 1.396 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6761, allocations: 2.312 kB / 1.396 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6761, allocations: 5.594 kB / 1.396 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.6769, allocations: 214.8 kB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6769, allocations: 6.5 kB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.6777, allocations: 193.6 kB / 1.396 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/0.6777, allocations: 40.3 kB / 1.396 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.6778, allocations: 3.312 kB / 1.396 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001171/0.6789, allocations: 0.7315 MB / 1.397 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6789, allocations: 1.969 kB / 1.397 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.679, allocations: 14.08 kB / 1.397 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.6796, allocations: 181.6 kB / 1.397 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6796, allocations: 8.812 kB / 1.397 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.6803, allocations: 157.8 kB / 1.397 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.6804, allocations: 32.5 kB / 1.397 GB, free: 22.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0001752/0.6806, allocations: 134.7 kB / 1.397 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6807, allocations: 88.62 kB / 1.397 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.6818, allocations: 0.7287 MB / 1.398 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.6818, allocations: 9.156 kB / 1.398 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6818, allocations: 1.344 kB / 1.398 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6818, allocations: 7.969 kB / 1.398 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.6836, allocations: 1.717 MB / 1.4 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6836, allocations: 8.844 kB / 1.4 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.6843, allocations: 172.8 kB / 1.4 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.6844, allocations: 7.031 kB / 1.4 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.6844, allocations: 4.938 kB / 1.4 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6844, allocations: 2.969 kB / 1.4 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6844, allocations: 0.9062 kB / 1.4 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001495/0.6859, allocations: 1.153 MB / 1.401 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.6861, allocations: 182.2 kB / 1.401 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.6862, allocations: 4.25 kB / 1.401 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.6867, allocations: 90.92 kB / 1.401 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.6868, allocations: 48.48 kB / 1.401 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.6869, allocations: 34.55 kB / 1.401 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005173/0.6874, allocations: 464 kB / 1.402 GB, free: 21.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009784/0.6884, allocations: 460.1 kB / 1.402 GB, free: 21.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (retFanPre.movMea.mu,retFanPre.conP.I.y,retFanPre1.movMea.mu,retFanPre1.conP.I.y,retFanPre2.movMea.mu,retFanPre2.conP.I.y) * Number of discrete variables: 12 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,retFanPre.movMea.mode,retFanPre1.movMea.mode,retFanPre2.movMea.mode,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * 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.0002261/0.6886, allocations: 136.3 kB / 1.402 GB, free: 21.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.6904, allocations: 1.251 MB / 1.404 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6904, allocations: 1.312 kB / 1.404 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.6909, allocations: 353.9 kB / 1.404 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.6918, allocations: 177.3 kB / 1.404 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.6946, allocations: 1.451 MB / 1.406 GB, free: 20.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009105/0.6955, allocations: 1.234 MB / 1.407 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.6955, allocations: 0 / 1.407 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.02314/0.7187, allocations: 15.95 MB / 1.422 GB, free: 3.402 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches