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.43/2.43, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001138/0.001138, allocations: 173.1 kB / 498.1 MB, free: 5.766 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.555/1.555, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001041/0.00104, allocations: 96.38 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 9.438 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.495/4.817, allocations: 1.713 GB / 2.936 GB, free: 307.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/4.818, allocations: 106.4 kB / 2.936 GB, free: 307.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05565/4.873, allocations: 28.26 MB / 2.964 GB, free: 279 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.543e-06/4.873, allocations: 0 / 2.964 GB, free: 279 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.371e-06/4.873, allocations: 0 / 2.964 GB, free: 279 MB / 1.167 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.0004284/4.874, allocations: 391.1 kB / 2.964 GB, free: 278.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/4.874, allocations: 8.031 kB / 2.964 GB, free: 278.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/4.874, allocations: 7.906 kB / 2.964 GB, free: 278.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.176e-05/4.874, allocations: 175 kB / 2.964 GB, free: 278.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/4.874, allocations: 11.94 kB / 2.964 GB, free: 278.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/4.874, allocations: 7.938 kB / 2.964 GB, free: 278.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/4.874, allocations: 90.22 kB / 2.964 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/4.874, allocations: 0 / 2.964 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/4.874, allocations: 3.953 kB / 2.964 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/4.874, allocations: 12 kB / 2.964 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/4.874, allocations: 79.89 kB / 2.964 GB, free: 278.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/4.875, allocations: 344.7 kB / 2.965 GB, free: 277.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/4.875, allocations: 98.48 kB / 2.965 GB, free: 277.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/4.876, allocations: 453.5 kB / 2.965 GB, free: 277.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/4.876, allocations: 34.56 kB / 2.965 GB, free: 277.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/4.876, allocations: 0 / 2.965 GB, free: 277.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0002481/4.876, allocations: 122.9 kB / 2.965 GB, free: 276.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/4.876, allocations: 55.41 kB / 2.965 GB, free: 276.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/4.876, allocations: 105 kB / 2.965 GB, free: 276.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/4.876, allocations: 29.7 kB / 2.965 GB, free: 276.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/4.876, allocations: 100.2 kB / 2.966 GB, free: 276.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/4.876, allocations: 47.39 kB / 2.966 GB, free: 276.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/4.876, allocations: 0 / 2.966 GB, free: 276.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/4.876, allocations: 322.8 kB / 2.966 GB, free: 276.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/4.876, allocations: 27.98 kB / 2.966 GB, free: 276.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/4.876, allocations: 71.09 kB / 2.966 GB, free: 276.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/4.876, allocations: 44.42 kB / 2.966 GB, free: 276.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/4.876, allocations: 0 / 2.966 GB, free: 276.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001558/4.877, allocations: 145.4 kB / 2.966 GB, free: 276 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/4.877, allocations: 4 kB / 2.966 GB, free: 275.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/4.877, allocations: 4 kB / 2.966 GB, free: 275.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/4.877, allocations: 3.938 kB / 2.966 GB, free: 275.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/4.877, allocations: 27.98 kB / 2.966 GB, free: 275.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/4.877, allocations: 0 / 2.966 GB, free: 275.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/4.877, allocations: 16.06 kB / 2.966 GB, free: 275.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/4.877, allocations: 4 kB / 2.966 GB, free: 275.9 MB / 1.167 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 () * Number of clocked 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.14e-05/4.877, allocations: 129.7 kB / 2.966 GB, free: 275.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/4.877, allocations: 11.86 kB / 2.966 GB, free: 275.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/4.877, allocations: 114 kB / 2.966 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/4.877, allocations: 7.938 kB / 2.966 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/4.877, allocations: 7.984 kB / 2.966 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/4.877, allocations: 3.938 kB / 2.966 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/4.877, allocations: 177.6 kB / 2.967 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/4.877, allocations: 4 kB / 2.967 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/4.877, allocations: 15.94 kB / 2.967 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/4.877, allocations: 0 / 2.967 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/4.877, allocations: 7.953 kB / 2.967 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/4.877, allocations: 0 / 2.967 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/4.877, allocations: 0 / 2.967 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/4.878, allocations: 199.7 kB / 2.967 GB, free: 275.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/4.878, allocations: 96.94 kB / 2.967 GB, free: 275 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/4.878, allocations: 256 / 2.967 GB, free: 275 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/4.878, allocations: 15.95 kB / 2.967 GB, free: 275 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/4.878, allocations: 3.984 kB / 2.967 GB, free: 275 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/4.878, allocations: 7.938 kB / 2.967 GB, free: 275 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.04e-05/4.878, allocations: 91.22 kB / 2.967 GB, free: 274.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/4.878, allocations: 0 / 2.967 GB, free: 274.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004683/4.878, allocations: 115.9 kB / 2.967 GB, free: 274.8 MB / 1.167 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 () * Number of clocked 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.0008029/4.879, allocations: 0.6394 MB / 2.968 GB, free: 274.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001657/4.879, allocations: 79.89 kB / 2.968 GB, free: 274.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/4.879, allocations: 4 kB / 2.968 GB, free: 274.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/4.879, allocations: 39.86 kB / 2.968 GB, free: 274 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/4.879, allocations: 13.67 kB / 2.968 GB, free: 274 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/4.88, allocations: 199.5 kB / 2.968 GB, free: 273.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/4.88, allocations: 0.6926 MB / 2.969 GB, free: 273.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001269/4.88, allocations: 52.98 kB / 2.969 GB, free: 273 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/4.88, allocations: 15.44 kB / 2.969 GB, free: 273 MB / 1.167 GB Notification: Performance of SimCode: time 2.3e-07/4.88, allocations: 0 / 2.969 GB, free: 273 MB / 1.167 GB Notification: Performance of Templates: time 0.01124/4.891, allocations: 8.832 MB / 2.978 GB, free: 264.2 MB / 1.167 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