Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.987/1.987, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001203/0.001203, allocations: 185.2 kB / 490.8 MB, free: 1.945 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.447/1.447, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.001023/0.001023, allocations: 103.2 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.207e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3416, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.69/4.031, allocations: 1.713 GB / 2.925 GB, free: 160.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/4.032, allocations: 95.62 kB / 2.925 GB, free: 160 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.05094/4.083, allocations: 27.63 MB / 2.952 GB, free: 132.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.005e-06/4.083, allocations: 0 / 2.952 GB, free: 132.1 MB / 1.151 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.0003673/4.083, allocations: 388.4 kB / 2.952 GB, free: 131.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/4.083, allocations: 8.031 kB / 2.952 GB, free: 131.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/4.083, allocations: 0 / 2.952 GB, free: 131.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.439e-05/4.083, allocations: 170.9 kB / 2.952 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/4.083, allocations: 4 kB / 2.952 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/4.083, allocations: 8 kB / 2.952 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001458/4.083, allocations: 72.72 kB / 2.952 GB, free: 131.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/4.084, allocations: 85.66 kB / 2.952 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/4.084, allocations: 0 / 2.952 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/4.084, allocations: 0 / 2.952 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/4.084, allocations: 11.94 kB / 2.952 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/4.084, allocations: 313.2 kB / 2.953 GB, free: 130.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/4.084, allocations: 102.5 kB / 2.953 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/4.084, allocations: 44.92 kB / 2.953 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/4.085, allocations: 461.7 kB / 2.953 GB, free: 130.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/4.085, allocations: 46.5 kB / 2.953 GB, free: 130.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/4.085, allocations: 0 / 2.953 GB, free: 130.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.08596/4.171, allocations: 9.271 MB / 2.962 GB, free: 120.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/4.171, allocations: 51.41 kB / 2.962 GB, free: 120.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/4.171, allocations: 105 kB / 2.962 GB, free: 120.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/4.171, allocations: 25.7 kB / 2.962 GB, free: 120.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/4.171, allocations: 100.2 kB / 2.963 GB, free: 120.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/4.171, allocations: 35.55 kB / 2.963 GB, free: 120.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/4.171, allocations: 4 kB / 2.963 GB, free: 120.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/4.171, allocations: 318.8 kB / 2.963 GB, free: 120.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/4.171, allocations: 27.98 kB / 2.963 GB, free: 120.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/4.171, allocations: 69.08 kB / 2.963 GB, free: 120.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08667/4.258, allocations: 9.23 MB / 2.972 GB, free: 110.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/4.258, allocations: 3.938 kB / 2.972 GB, free: 110.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.08546/4.343, allocations: 9.298 MB / 2.981 GB, free: 101.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/4.343, allocations: 8 kB / 2.981 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/4.343, allocations: 3.984 kB / 2.981 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/4.344, allocations: 4.156 kB / 2.981 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/4.344, allocations: 31.92 kB / 2.981 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/4.344, allocations: 4 kB / 2.981 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/4.344, allocations: 3.906 kB / 2.981 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/4.344, allocations: 12 kB / 2.981 GB, free: 101.5 MB / 1.151 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 6.339e-05/4.344, allocations: 104.9 kB / 2.981 GB, free: 101.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/4.344, allocations: 7.906 kB / 2.981 GB, free: 101.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08905/4.433, allocations: 9.309 MB / 2.99 GB, free: 92.05 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/4.433, allocations: 0 / 2.99 GB, free: 92.05 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/4.433, allocations: 0 / 2.99 GB, free: 92.05 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/4.433, allocations: 0 / 2.99 GB, free: 92.05 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/4.433, allocations: 154.1 kB / 2.99 GB, free: 91.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/4.433, allocations: 0 / 2.99 GB, free: 91.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/4.433, allocations: 20 kB / 2.991 GB, free: 91.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/4.433, allocations: 4 kB / 2.991 GB, free: 91.84 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/4.433, allocations: 4.234 kB / 2.991 GB, free: 91.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/4.433, allocations: 8 kB / 2.991 GB, free: 91.83 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.433, allocations: 7.844 kB / 2.991 GB, free: 91.82 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08655/4.52, allocations: 9.366 MB / 3 GB, free: 82.43 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/4.52, allocations: 89.09 kB / 3 GB, free: 82.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/4.52, allocations: 3.906 kB / 3 GB, free: 82.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/4.52, allocations: 0 / 3 GB, free: 82.32 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/4.52, allocations: 15.92 kB / 3 GB, free: 82.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/4.52, allocations: 4 kB / 3 GB, free: 82.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.104e-05/4.52, allocations: 87.28 kB / 3 GB, free: 82.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004713/4.521, allocations: 111.8 kB / 3 GB, free: 82.1 MB / 1.151 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.0008086/4.521, allocations: 0.738 MB / 3.001 GB, free: 81.36 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001461/4.522, allocations: 71.97 kB / 3.001 GB, free: 81.29 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/4.522, allocations: 320 / 3.001 GB, free: 81.29 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/4.522, allocations: 39.98 kB / 3.001 GB, free: 81.25 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/4.522, allocations: 8 kB / 3.001 GB, free: 81.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/4.522, allocations: 117.5 kB / 3.001 GB, free: 81.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/4.522, allocations: 0.7153 MB / 3.002 GB, free: 80.38 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/4.522, allocations: 0 / 3.002 GB, free: 80.38 MB / 1.151 GB Notification: Performance of Templates: time 0.007647/4.53, allocations: 5.074 MB / 3.007 GB, free: 75.35 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches