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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 436.5 MB / 0.7104 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 8 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.6333, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001152/0.6345, allocations: 1.035 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1362/0.7707, allocations: 125 MB / 1.144 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.7708, allocations: 0 / 1.144 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.7709, allocations: 0 / 1.144 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.771, allocations: 35.92 kB / 1.144 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007777/0.7718, allocations: 231.3 kB / 1.144 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.7719, allocations: 35.94 kB / 1.144 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.7719, allocations: 7.938 kB / 1.144 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.772, allocations: 27.91 kB / 1.144 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.7721, allocations: 31.91 kB / 1.144 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.7721, allocations: 0 / 1.144 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.7727, allocations: 295.5 kB / 1.145 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.7727, allocations: 27.95 kB / 1.145 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.7728, allocations: 33.64 kB / 1.145 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.773, allocations: 141.7 kB / 1.145 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.773, allocations: 8 kB / 1.145 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.583e-06/0.773, allocations: 0 / 1.145 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.7731, allocations: 0 / 1.145 GB, free: 1.875 MB / 0.8887 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.0003697/0.7734, allocations: 379.2 kB / 1.145 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.7735, allocations: 8.031 kB / 1.145 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.7735, allocations: 7.906 kB / 1.145 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.7736, allocations: 171 kB / 1.145 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7736, allocations: 3.938 kB / 1.145 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.7737, allocations: 11.94 kB / 1.145 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.7738, allocations: 97.64 kB / 1.145 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.7739, allocations: 0 / 1.145 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.7739, allocations: 0 / 1.145 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.7739, allocations: 15.94 kB / 1.145 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.774, allocations: 82.48 kB / 1.145 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.7745, allocations: 336.7 kB / 1.146 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.7747, allocations: 98.48 kB / 1.146 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008652/0.7755, allocations: 489.5 kB / 1.146 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7756, allocations: 42.56 kB / 1.146 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.7756, allocations: 0 / 1.146 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0002513/0.7759, allocations: 121.8 kB / 1.147 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.7759, allocations: 59.36 kB / 1.147 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.776, allocations: 109.8 kB / 1.147 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.776, allocations: 29.7 kB / 1.147 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.7761, allocations: 96.27 kB / 1.147 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.7761, allocations: 35.45 kB / 1.147 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.7761, allocations: 4 kB / 1.147 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7762, allocations: 326.8 kB / 1.147 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.7763, allocations: 27.98 kB / 1.147 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.7764, allocations: 73.12 kB / 1.147 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.545e-05/0.7764, allocations: 43.98 kB / 1.147 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7764, allocations: 0 / 1.147 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001878/0.7766, allocations: 133.5 kB / 1.147 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7767, allocations: 8 kB / 1.147 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7767, allocations: 3.938 kB / 1.147 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.7767, allocations: 4 kB / 1.147 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.7768, allocations: 23.98 kB / 1.147 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7768, allocations: 4.156 kB / 1.147 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.7769, allocations: 23.8 kB / 1.147 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.7769, allocations: 4 kB / 1.147 GB, free: 14.74 MB / 0.9044 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 9.166e-05/0.777, allocations: 125.8 kB / 1.148 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.777, allocations: 7.906 kB / 1.148 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.7772, allocations: 118.5 kB / 1.148 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7772, allocations: 4 kB / 1.148 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7773, allocations: 7.922 kB / 1.148 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7773, allocations: 0 / 1.148 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.7775, allocations: 193.4 kB / 1.148 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7775, allocations: 0 / 1.148 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.7775, allocations: 19.94 kB / 1.148 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7775, allocations: 0 / 1.148 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.7776, allocations: 0 / 1.148 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7776, allocations: 3.938 kB / 1.148 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7776, allocations: 0 / 1.148 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.7777, allocations: 203.4 kB / 1.148 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.7778, allocations: 89.09 kB / 1.148 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7778, allocations: 4 kB / 1.148 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.7779, allocations: 4.25 kB / 1.148 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.7779, allocations: 7.984 kB / 1.148 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.7779, allocations: 7.938 kB / 1.148 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.778, allocations: 91.22 kB / 1.148 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.778, allocations: 0 / 1.148 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000348/0.7783, allocations: 79.92 kB / 1.148 GB, free: 13.69 MB / 0.9044 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.0003346/0.7787, allocations: 179.1 kB / 1.149 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.7789, allocations: 83.89 kB / 1.149 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7789, allocations: 320 / 1.149 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.7789, allocations: 39.92 kB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.7791, allocations: 22.16 kB / 1.149 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.7794, allocations: 195.2 kB / 1.149 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.7797, allocations: 0.6887 MB / 1.15 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.7798, allocations: 56.42 kB / 1.15 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.7799, allocations: 15.44 kB / 1.15 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7799, allocations: 4 kB / 1.15 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.004368/0.7843, allocations: 1.818 MB / 1.151 GB, free: 10.59 MB / 0.9044 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