Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") [: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 7.0.3-maint.7.0.x/package.mo): time 1.199/1.199, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 177.3 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008497/0.0008498, allocations: 91.31 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.045e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1514, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5943, allocations: 134.4 MB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.5945, allocations: 91.62 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007913/0.6024, allocations: 2.668 MB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.6025, allocations: 4 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004919/0.603, allocations: 443.9 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.603, allocations: 8.031 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.603, allocations: 11.81 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6032, allocations: 183 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6032, allocations: 7.984 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.6032, allocations: 4 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001337/0.6034, allocations: 56.69 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.6035, allocations: 78.22 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6035, allocations: 4 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6035, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6035, allocations: 7.938 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.604, allocations: 368.2 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.6042, allocations: 80 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.6043, allocations: 34.17 kB / 1.02 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/0.6047, allocations: 0.5544 MB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.6047, allocations: 37.81 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.6047, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002428/0.605, allocations: 90.75 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.605, allocations: 51.41 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.6051, allocations: 115.5 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6051, allocations: 25.7 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.6052, allocations: 102.7 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.6052, allocations: 27 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.6052, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.6053, allocations: 326.2 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.6054, allocations: 19.06 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.6054, allocations: 23.53 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.797e-05/0.6055, allocations: 26.86 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6055, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001511/0.6056, allocations: 85.41 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.6057, allocations: 7.938 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6057, allocations: 3.938 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.6057, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.6058, allocations: 35.97 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.6059, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.606, allocations: 23.98 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.606, allocations: 3.938 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.79e-05/0.606, allocations: 107.8 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.6061, allocations: 7.906 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.6063, allocations: 110.3 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6063, allocations: 0 / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6063, allocations: 0 / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6063, allocations: 4 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.6065, allocations: 186 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6065, allocations: 4 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.6067, allocations: 35.97 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6067, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6067, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.6067, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6067, allocations: 3.938 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001795/0.6069, allocations: 190.6 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.6069, allocations: 88.94 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.607, allocations: 8 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6071, allocations: 19.97 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.6072, allocations: 4 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.6072, allocations: 3.938 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.024e-05/0.6072, allocations: 102.3 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002229/0.6074, allocations: 31.84 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001383/0.6076, allocations: 107.2 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.6077, allocations: 55.88 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.6077, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.6078, allocations: 31.31 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.608, allocations: 19.3 kB / 1.022 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.6083, allocations: 132.2 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.6086, allocations: 0.7192 MB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.6086, allocations: 0 / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.003165/0.6118, allocations: 1.273 MB / 1.024 GB, free: 11.85 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches