Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009728/0.0009728, allocations: 172.9 kB / 487.4 MB, free: 5.059 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.479/1.479, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009986/0.0009986, allocations: 103.9 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.55e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.594/4.915, allocations: 1.712 GB / 2.918 GB, free: 173.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/4.916, allocations: 91.94 kB / 2.918 GB, free: 173.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05864/4.974, allocations: 27.65 MB / 2.945 GB, free: 145.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.523e-06/4.974, allocations: 0 / 2.945 GB, free: 145.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.985e-06/4.974, allocations: 0.8438 kB / 2.945 GB, free: 145.3 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.0005076/4.975, allocations: 390.8 kB / 2.946 GB, free: 144.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/4.975, allocations: 12.03 kB / 2.946 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/4.975, allocations: 4 kB / 2.946 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/4.975, allocations: 167 kB / 2.946 GB, free: 144.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/4.975, allocations: 4 kB / 2.946 GB, free: 144.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/4.975, allocations: 1.422 kB / 2.946 GB, free: 144.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001681/4.975, allocations: 67.98 kB / 2.946 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/4.976, allocations: 93.64 kB / 2.946 GB, free: 144.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/4.976, allocations: 0.75 kB / 2.946 GB, free: 144.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/4.976, allocations: 3.953 kB / 2.946 GB, free: 144.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/4.976, allocations: 11.98 kB / 2.946 GB, free: 144.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/4.976, allocations: 309.3 kB / 2.946 GB, free: 144.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/4.976, allocations: 98.47 kB / 2.946 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/4.976, allocations: 41.14 kB / 2.946 GB, free: 144 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/4.977, allocations: 477.3 kB / 2.947 GB, free: 143.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/4.977, allocations: 30.56 kB / 2.947 GB, free: 143.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/4.977, allocations: 0 / 2.947 GB, free: 143.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0767/5.054, allocations: 8.846 MB / 2.956 GB, free: 134.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/5.054, allocations: 55.5 kB / 2.956 GB, free: 134.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/5.054, allocations: 108.9 kB / 2.956 GB, free: 134.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/5.054, allocations: 25.7 kB / 2.956 GB, free: 134.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/5.054, allocations: 100.2 kB / 2.956 GB, free: 134.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/5.054, allocations: 31.47 kB / 2.956 GB, free: 134.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/5.054, allocations: 4 kB / 2.956 GB, free: 134.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/5.054, allocations: 318.8 kB / 2.956 GB, free: 133.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/5.054, allocations: 27.98 kB / 2.956 GB, free: 133.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/5.054, allocations: 69.08 kB / 2.956 GB, free: 133.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07629/5.131, allocations: 8.806 MB / 2.965 GB, free: 125 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/5.131, allocations: 0 / 2.965 GB, free: 125 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0753/5.206, allocations: 8.881 MB / 2.974 GB, free: 116.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/5.206, allocations: 8.031 kB / 2.974 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/5.206, allocations: 3.953 kB / 2.974 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/5.206, allocations: 4 kB / 2.974 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/5.206, allocations: 23.98 kB / 2.974 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/5.206, allocations: 7.938 kB / 2.974 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/5.206, allocations: 7.906 kB / 2.974 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/5.206, allocations: 4 kB / 2.974 GB, free: 116 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 7.286e-05/5.206, allocations: 102.4 kB / 2.974 GB, free: 115.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/5.206, allocations: 4 kB / 2.974 GB, free: 115.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07622/5.283, allocations: 8.89 MB / 2.982 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/5.283, allocations: 4.203 kB / 2.982 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/5.283, allocations: 0 / 2.982 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/5.283, allocations: 4 kB / 2.982 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/5.283, allocations: 158.2 kB / 2.983 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/5.283, allocations: 0 / 2.983 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/5.283, allocations: 23.98 kB / 2.983 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/5.283, allocations: 0 / 2.983 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/5.283, allocations: 0 / 2.983 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/5.283, allocations: 4 kB / 2.983 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/5.283, allocations: 0 / 2.983 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0741/5.357, allocations: 8.949 MB / 2.991 GB, free: 97.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/5.357, allocations: 96.94 kB / 2.991 GB, free: 97.68 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/5.357, allocations: 3.984 kB / 2.991 GB, free: 97.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/5.357, allocations: 4 kB / 2.991 GB, free: 97.67 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/5.357, allocations: 4 kB / 2.991 GB, free: 97.67 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/5.357, allocations: 4 kB / 2.991 GB, free: 97.66 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.78e-05/5.357, allocations: 99.16 kB / 2.992 GB, free: 97.57 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.357, allocations: 0 / 2.992 GB, free: 97.57 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000478/5.358, allocations: 103.9 kB / 2.992 GB, free: 97.46 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.0009611/5.359, allocations: 0.726 MB / 2.992 GB, free: 96.73 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001892/5.359, allocations: 71.98 kB / 2.992 GB, free: 96.66 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/5.359, allocations: 4.125 kB / 2.992 GB, free: 96.66 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/5.359, allocations: 35.98 kB / 2.992 GB, free: 96.62 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/5.359, allocations: 11.98 kB / 2.992 GB, free: 96.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/5.36, allocations: 105 kB / 2.993 GB, free: 96.49 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/5.36, allocations: 0.6924 MB / 2.993 GB, free: 95.77 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001307/5.36, allocations: 57.08 kB / 2.993 GB, free: 95.71 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/5.36, allocations: 11.44 kB / 2.993 GB, free: 95.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/5.36, allocations: 0 / 2.993 GB, free: 95.7 MB / 1.151 GB Notification: Performance of Templates: time 0.007832/5.368, allocations: 4.858 MB / 2.998 GB, free: 90.89 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches