Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [: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.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.001072/0.001072, allocations: 181.2 kB / 316 MB, free: 3.52 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.07/1.07, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008248/0.0008248, allocations: 89.39 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.034e-06/7.054e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.297/3.438, allocations: 2.173 GB / 3.058 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/3.438, allocations: 95.92 kB / 3.058 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.04848/3.487, allocations: 27.35 MB / 3.085 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.973e-06/3.487, allocations: 4 kB / 3.085 GB, free: 118.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003069/3.487, allocations: 382.2 kB / 3.085 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/3.487, allocations: 8.031 kB / 3.085 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/3.487, allocations: 7.906 kB / 3.085 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.256e-05/3.487, allocations: 171 kB / 3.085 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/3.487, allocations: 7.906 kB / 3.085 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/3.487, allocations: 0 / 3.085 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/3.488, allocations: 71.97 kB / 3.085 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.966e-05/3.488, allocations: 85.67 kB / 3.086 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/3.488, allocations: 0 / 3.086 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/3.488, allocations: 0 / 3.086 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/3.488, allocations: 11.98 kB / 3.086 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/3.488, allocations: 321.1 kB / 3.086 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/3.488, allocations: 96.06 kB / 3.086 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/3.488, allocations: 49.06 kB / 3.086 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005628/3.489, allocations: 461.5 kB / 3.086 GB, free: 117 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/3.489, allocations: 34.56 kB / 3.086 GB, free: 117 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/3.489, allocations: 0 / 3.086 GB, free: 117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.08412/3.573, allocations: 9.279 MB / 3.096 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/3.573, allocations: 55.41 kB / 3.096 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/3.573, allocations: 97 kB / 3.096 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/3.573, allocations: 25.7 kB / 3.096 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/3.573, allocations: 104.2 kB / 3.096 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/3.573, allocations: 39.45 kB / 3.096 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/3.573, allocations: 0 / 3.096 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 3.724e-05/3.573, allocations: 318.8 kB / 3.096 GB, free: 107 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/3.573, allocations: 27.98 kB / 3.096 GB, free: 107 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/3.573, allocations: 61.8 kB / 3.096 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08383/3.657, allocations: 9.234 MB / 3.105 GB, free: 97.65 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/3.657, allocations: 0 / 3.105 GB, free: 97.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.08437/3.742, allocations: 9.302 MB / 3.114 GB, free: 88.33 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/3.742, allocations: 4 kB / 3.114 GB, free: 88.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/3.742, allocations: 8.156 kB / 3.114 GB, free: 88.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/3.742, allocations: 0 / 3.114 GB, free: 88.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/3.742, allocations: 35.86 kB / 3.114 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/3.742, allocations: 3.906 kB / 3.114 GB, free: 88.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/3.742, allocations: 7.938 kB / 3.114 GB, free: 88.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/3.742, allocations: 8 kB / 3.114 GB, free: 88.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.312e-05/3.742, allocations: 108.9 kB / 3.114 GB, free: 88.15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/3.742, allocations: 3.906 kB / 3.114 GB, free: 88.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08564/3.828, allocations: 9.306 MB / 3.124 GB, free: 78.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/3.828, allocations: 4 kB / 3.124 GB, free: 78.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/3.828, allocations: 0 / 3.124 GB, free: 78.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/3.828, allocations: 0 / 3.124 GB, free: 78.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/3.828, allocations: 162 kB / 3.124 GB, free: 78.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/3.828, allocations: 0 / 3.124 GB, free: 78.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/3.828, allocations: 20 kB / 3.124 GB, free: 78.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/3.828, allocations: 0 / 3.124 GB, free: 78.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/3.828, allocations: 4 kB / 3.124 GB, free: 78.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/3.828, allocations: 0 / 3.124 GB, free: 78.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/3.828, allocations: 0 / 3.124 GB, free: 78.59 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08472/3.913, allocations: 9.378 MB / 3.133 GB, free: 69.19 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/3.913, allocations: 97 kB / 3.133 GB, free: 69.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/3.913, allocations: 4.25 kB / 3.133 GB, free: 69.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/3.913, allocations: 4 kB / 3.133 GB, free: 69.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/3.913, allocations: 11.89 kB / 3.133 GB, free: 69.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/3.913, allocations: 0 / 3.133 GB, free: 69.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.033e-05/3.913, allocations: 87.28 kB / 3.133 GB, free: 68.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004032/3.913, allocations: 111.8 kB / 3.133 GB, free: 68.86 MB / 0.8542 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 (11): * Single equations (assignments): 11 * 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.0007748/3.914, allocations: 0.731 MB / 3.134 GB, free: 68.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001551/3.914, allocations: 76.16 kB / 3.134 GB, free: 68.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/3.914, allocations: 4.062 kB / 3.134 GB, free: 68.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/3.914, allocations: 32 kB / 3.134 GB, free: 68.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/3.915, allocations: 11.92 kB / 3.134 GB, free: 68.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/3.915, allocations: 111.6 kB / 3.134 GB, free: 67.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/3.915, allocations: 0.7114 MB / 3.135 GB, free: 67.15 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/3.915, allocations: 0 / 3.135 GB, free: 67.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.007128/3.922, allocations: 5.066 MB / 3.14 GB, free: 62.13 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches