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.284/2.284, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001146/0.001146, allocations: 169 kB / 492.3 MB, free: 0.6094 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.559/1.559, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009979/0.000998, allocations: 99.83 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.476e-05/4.478e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.137/5.46, allocations: 1.713 GB / 2.925 GB, free: 126.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/5.46, allocations: 99.3 kB / 2.925 GB, free: 126.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.0527/5.513, allocations: 28.19 MB / 2.953 GB, free: 103.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.503e-06/5.513, allocations: 3.938 kB / 2.953 GB, free: 103.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.935e-06/5.513, allocations: 4 kB / 2.953 GB, free: 103.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.000407/5.513, allocations: 397.8 kB / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/5.513, allocations: 12.03 kB / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/5.513, allocations: 0 / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/5.513, allocations: 167.1 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/5.513, allocations: 3.984 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/5.513, allocations: 9.297 kB / 2.953 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/5.513, allocations: 84.05 kB / 2.954 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/5.513, allocations: 0 / 2.954 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/5.514, allocations: 3.812 kB / 2.954 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/5.514, allocations: 23.88 kB / 2.954 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/5.514, allocations: 83.11 kB / 2.954 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/5.514, allocations: 333.4 kB / 2.954 GB, free: 101.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/5.514, allocations: 100.9 kB / 2.954 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/5.514, allocations: 59.97 kB / 2.954 GB, free: 101.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/5.515, allocations: 457 kB / 2.955 GB, free: 101.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/5.515, allocations: 34.55 kB / 2.955 GB, free: 101.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/5.515, allocations: 4 kB / 2.955 GB, free: 101.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0002041/5.515, allocations: 88.53 kB / 2.955 GB, free: 101.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/5.515, allocations: 55.39 kB / 2.955 GB, free: 101 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/5.515, allocations: 100.5 kB / 2.955 GB, free: 100.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/5.515, allocations: 33.39 kB / 2.955 GB, free: 100.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/5.515, allocations: 100.2 kB / 2.955 GB, free: 100.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/5.515, allocations: 42.75 kB / 2.955 GB, free: 100.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/5.515, allocations: 0 / 2.955 GB, free: 100.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.654e-05/5.515, allocations: 318.8 kB / 2.955 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/5.515, allocations: 31.8 kB / 2.955 GB, free: 100.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/5.516, allocations: 79.95 kB / 2.955 GB, free: 100.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/5.516, allocations: 44.69 kB / 2.955 GB, free: 100.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/5.516, allocations: 0 / 2.955 GB, free: 100.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001586/5.516, allocations: 139.9 kB / 2.956 GB, free: 100.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/5.516, allocations: 8.031 kB / 2.956 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/5.516, allocations: 4 kB / 2.956 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/5.516, allocations: 0 / 2.956 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/5.516, allocations: 31.92 kB / 2.956 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/5.516, allocations: 0 / 2.956 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/5.516, allocations: 7.906 kB / 2.956 GB, free: 100.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/5.516, allocations: 11.5 kB / 2.956 GB, free: 100.1 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 5.472e-05/5.516, allocations: 112.7 kB / 2.956 GB, free: 99.97 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/5.516, allocations: 7.953 kB / 2.956 GB, free: 99.96 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/5.516, allocations: 134 kB / 2.956 GB, free: 99.85 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/5.516, allocations: 0 / 2.956 GB, free: 99.85 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/5.516, allocations: 256 / 2.956 GB, free: 99.85 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/5.516, allocations: 4 kB / 2.956 GB, free: 99.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/5.516, allocations: 177.2 kB / 2.956 GB, free: 99.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/5.516, allocations: 0 / 2.956 GB, free: 99.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/5.517, allocations: 16 kB / 2.956 GB, free: 99.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/5.517, allocations: 4 kB / 2.956 GB, free: 99.61 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/5.517, allocations: 11.62 kB / 2.956 GB, free: 99.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/5.517, allocations: 4 kB / 2.956 GB, free: 99.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/5.517, allocations: 3.938 kB / 2.956 GB, free: 99.59 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/5.517, allocations: 193.8 kB / 2.956 GB, free: 99.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/5.517, allocations: 92.94 kB / 2.956 GB, free: 99.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/5.517, allocations: 3.875 kB / 2.956 GB, free: 99.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/5.517, allocations: 7.953 kB / 2.956 GB, free: 99.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/5.517, allocations: 7.984 kB / 2.956 GB, free: 99.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/5.517, allocations: 4 kB / 2.956 GB, free: 99.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.703e-05/5.517, allocations: 86.78 kB / 2.956 GB, free: 99.19 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.517, allocations: 0 / 2.956 GB, free: 99.19 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004556/5.517, allocations: 120.7 kB / 2.957 GB, free: 99.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.0007698/5.518, allocations: 0.6366 MB / 2.957 GB, free: 98.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001411/5.518, allocations: 79.23 kB / 2.957 GB, free: 98.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.518, allocations: 4.062 kB / 2.957 GB, free: 98.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/5.518, allocations: 39.17 kB / 2.957 GB, free: 98.38 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/5.519, allocations: 11.94 kB / 2.957 GB, free: 98.37 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/5.519, allocations: 119.1 kB / 2.957 GB, free: 98.23 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/5.519, allocations: 0.6887 MB / 2.958 GB, free: 97.52 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001192/5.519, allocations: 53.09 kB / 2.958 GB, free: 97.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/5.519, allocations: 19.42 kB / 2.958 GB, free: 97.45 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.519, allocations: 3.938 kB / 2.958 GB, free: 97.45 MB / 1.151 GB Notification: Performance of Templates: time 0.01237/5.532, allocations: 10.5 MB / 2.968 GB, free: 86.98 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