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.Validation.ReturnFanDirectPressure.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.744/1.744, allocations: 387.2 MB / 394.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000976/0.000976, allocations: 180.7 kB / 487 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.106/1.106, allocations: 221.3 MB / 0.7819 GB, free: 6.766 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.000911, allocations: 94.2 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.364e-06, allocations: 4 kB / 1.066 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4863, allocations: 142.3 MB / 1.205 GB, free: 72.7 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.6351, allocations: 151.7 MB / 1.353 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.6353, allocations: 79.92 kB / 1.354 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.04697/0.6823, allocations: 20.5 MB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.874e-05/0.6824, allocations: 28 kB / 1.374 GB, free: 7.031 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002152/0.6846, allocations: 1.43 MB / 1.375 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.6846, allocations: 8.031 kB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.6848, allocations: 174 kB / 1.375 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009881/0.6858, allocations: 0.7484 MB / 1.376 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.6859, allocations: 140.8 kB / 1.376 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.6861, allocations: 84 kB / 1.376 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001452/0.6875, allocations: 0.8567 MB / 1.377 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.6892, allocations: 1.059 MB / 1.378 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.6893, allocations: 4 kB / 1.378 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.6893, allocations: 0 / 1.378 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.6894, allocations: 37.77 kB / 1.378 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.6947, allocations: 3.916 MB / 1.382 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.6957, allocations: 0.6636 MB / 1.382 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.6962, allocations: 324 kB / 1.383 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.6962, allocations: 25.09 kB / 1.383 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/0.6968, allocations: 460.6 kB / 1.383 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=88): time 2.485e-06/0.6968, allocations: 0 / 1.383 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88): time 0.000948/0.6978, allocations: 0.6265 MB / 1.384 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.6979, allocations: 380.6 kB / 1.384 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.6986, allocations: 0.6129 MB / 1.385 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.6987, allocations: 29.7 kB / 1.385 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.6989, allocations: 0.4911 MB / 1.385 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.6991, allocations: 271.9 kB / 1.386 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.6992, allocations: 4 kB / 1.386 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6993, allocations: 394.7 kB / 1.386 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.6998, allocations: 298 kB / 1.386 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.7004, allocations: 498.3 kB / 1.387 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.701, allocations: 354.8 kB / 1.387 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.701, allocations: 0.75 kB / 1.387 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001389/0.7024, allocations: 0.8742 MB / 1.388 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.7026, allocations: 0.624 MB / 1.389 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.7026, allocations: 7.906 kB / 1.389 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7026, allocations: 4 kB / 1.389 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/0.7035, allocations: 211.7 kB / 1.389 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7035, allocations: 4 kB / 1.389 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.7043, allocations: 183.1 kB / 1.389 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.7043, allocations: 42.8 kB / 1.389 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-06/0.7043, allocations: 4 kB / 1.389 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/0.7055, allocations: 0.737 MB / 1.39 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7056, allocations: 4 kB / 1.39 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.7056, allocations: 4 kB / 1.39 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.7063, allocations: 187.9 kB / 1.39 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7063, allocations: 11.84 kB / 1.39 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.7069, allocations: 155.3 kB / 1.39 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.707, allocations: 35.98 kB / 1.39 GB, free: 5.602 MB / 0.8855 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.0001543/0.7072, allocations: 128.8 kB / 1.39 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.7073, allocations: 86.88 kB / 1.39 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.7084, allocations: 0.727 MB / 1.391 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.7084, allocations: 8 kB / 1.391 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7084, allocations: 4.875 kB / 1.391 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.7084, allocations: 7.969 kB / 1.391 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.7104, allocations: 1.719 MB / 1.393 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7104, allocations: 0 / 1.393 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/0.7111, allocations: 175.8 kB / 1.393 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7111, allocations: 4 kB / 1.393 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.7112, allocations: 8.688 kB / 1.393 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7112, allocations: 7.984 kB / 1.393 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7112, allocations: 0 / 1.393 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001447/0.7126, allocations: 1.151 MB / 1.394 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.7128, allocations: 187.8 kB / 1.394 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.7129, allocations: 4 kB / 1.394 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.7134, allocations: 91.91 kB / 1.394 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.7135, allocations: 48.7 kB / 1.394 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.7136, allocations: 35.98 kB / 1.394 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0004643/0.7141, allocations: 459.2 kB / 1.395 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008437/0.7149, allocations: 461.6 kB / 1.395 GB, free: 228 kB / 0.8855 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.0002038/0.7151, allocations: 139.7 kB / 1.395 GB, free: 84 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.7168, allocations: 1.244 MB / 1.397 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7168, allocations: 8.125 kB / 1.397 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.7173, allocations: 350.8 kB / 1.397 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.7181, allocations: 173.7 kB / 1.397 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.7207, allocations: 1.458 MB / 1.399 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008307/0.7215, allocations: 1.231 MB / 1.4 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of SimCode: time 3.3e-07/0.7215, allocations: 0 / 1.4 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of Templates: time 0.02329/0.7448, allocations: 15.95 MB / 1.415 GB, free: 11.89 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches