Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [: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.756/1.756, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009035/0.0009035, allocations: 173.3 kB / 487 MB, free: 5.336 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.115/1.115, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0008764/0.0008764, allocations: 93.69 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.071e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1829, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.6802, allocations: 149.3 MB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.6804, allocations: 79.2 kB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006374/0.6868, allocations: 2.238 MB / 1.353 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.6868, allocations: 2 kB / 1.353 GB, free: 15.81 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003738/0.6872, allocations: 429.6 kB / 1.354 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.6873, allocations: 8.531 kB / 1.354 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.6873, allocations: 15.5 kB / 1.354 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.6874, allocations: 182.4 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6874, allocations: 3.25 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.6875, allocations: 16.03 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/0.6876, allocations: 39.19 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.6877, allocations: 72.08 kB / 1.354 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.6877, allocations: 0.8125 kB / 1.354 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6878, allocations: 0.5625 kB / 1.354 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6878, allocations: 2.219 kB / 1.354 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.6883, allocations: 398 kB / 1.354 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/0.6884, allocations: 53.77 kB / 1.354 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.6885, allocations: 31.05 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.6885, allocations: 4.312 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.543e-05/0.6886, allocations: 66.53 kB / 1.355 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.6886, allocations: 1 kB / 1.355 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001728/0.6887, allocations: 79.77 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.6888, allocations: 57.38 kB / 1.355 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.6888, allocations: 115.7 kB / 1.355 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.6889, allocations: 31.58 kB / 1.355 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.6889, allocations: 98.55 kB / 1.355 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.6889, allocations: 20.62 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.6889, allocations: 1.031 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.689, allocations: 323 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.6891, allocations: 36.55 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.6892, allocations: 63.75 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.6894, allocations: 44.09 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6894, allocations: 4.688 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003135/0.6897, allocations: 136.7 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.6897, allocations: 8.969 kB / 1.356 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6897, allocations: 5.047 kB / 1.356 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.6897, allocations: 0.9688 kB / 1.356 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6898, allocations: 25 kB / 1.356 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6899, allocations: 5.562 kB / 1.356 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.6901, allocations: 56.55 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.6901, allocations: 6.766 kB / 1.356 GB, free: 14.06 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 4.982e-05/0.6902, allocations: 108.3 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.6902, allocations: 7.75 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.6902, allocations: 11.25 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6902, allocations: 1.469 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6902, allocations: 0 / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6902, allocations: 0.7188 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.6903, allocations: 176.8 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6903, allocations: 0.7812 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.358e-05/0.6904, allocations: 20.84 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6904, allocations: 1.469 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.6905, allocations: 0.875 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6905, allocations: 0 / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6905, allocations: 2.297 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001162/0.6906, allocations: 107.5 kB / 1.356 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.6906, allocations: 84.53 kB / 1.356 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.6906, allocations: 0.7812 kB / 1.356 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.6907, allocations: 13.47 kB / 1.356 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.6908, allocations: 5.344 kB / 1.356 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.6908, allocations: 5.969 kB / 1.356 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.258e-05/0.6908, allocations: 91.67 kB / 1.356 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002107/0.691, allocations: 35.33 kB / 1.356 GB, free: 13.53 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0001192/0.6911, allocations: 115.4 kB / 1.356 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.6913, allocations: 105.5 kB / 1.357 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6913, allocations: 0 / 1.357 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.6914, allocations: 29.05 kB / 1.357 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.6916, allocations: 27.58 kB / 1.357 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.6919, allocations: 123 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.6921, allocations: 0.7129 MB / 1.357 GB, free: 28.58 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.6921, allocations: 0 / 1.357 GB, free: 28.58 MB / 0.823 GB Notification: Performance of Templates: time 0.003566/0.6957, allocations: 1.418 MB / 1.359 GB, free: 28.48 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches