Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008988/0.0008988, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005711/0.005711, allocations: 173.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.379/2.379, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 8 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5267, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001237/0.528, allocations: 1.055 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1361/0.6641, allocations: 144 MB / 1.165 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.6642, allocations: 0 / 1.165 GB, free: 14.19 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.6642, allocations: 3.984 kB / 1.165 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.6644, allocations: 39.88 kB / 1.165 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.6654, allocations: 318.8 kB / 1.165 GB, free: 13.83 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.6656, allocations: 183.7 kB / 1.165 GB, free: 13.65 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.6656, allocations: 4 kB / 1.165 GB, free: 13.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.6657, allocations: 31.84 kB / 1.165 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.6658, allocations: 67.88 kB / 1.165 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.6658, allocations: 0 / 1.165 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.6666, allocations: 443 kB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.6667, allocations: 27.95 kB / 1.166 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.6667, allocations: 49.58 kB / 1.166 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.6672, allocations: 289.5 kB / 1.166 GB, free: 12.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6672, allocations: 0 / 1.166 GB, free: 12.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6672, allocations: 0 / 1.166 GB, free: 12.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6672, allocations: 4 kB / 1.166 GB, free: 12.75 MB / 0.92 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.0003748/0.6676, allocations: 387.3 kB / 1.167 GB, free: 12.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.6676, allocations: 8.031 kB / 1.167 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.6677, allocations: 46.72 kB / 1.167 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.6677, allocations: 12.78 kB / 1.167 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.779e-05/0.6678, allocations: 164.1 kB / 1.167 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.6678, allocations: 7.984 kB / 1.167 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.6679, allocations: 0 / 1.167 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.668, allocations: 99.92 kB / 1.167 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.668, allocations: 0 / 1.167 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.6681, allocations: 8 kB / 1.167 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.6681, allocations: 11.98 kB / 1.167 GB, free: 11.92 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.6682, allocations: 75.95 kB / 1.167 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.6686, allocations: 340.7 kB / 1.167 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.6688, allocations: 106.4 kB / 1.167 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.6689, allocations: 44.91 kB / 1.167 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008239/0.6697, allocations: 485.4 kB / 1.168 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.6698, allocations: 42.56 kB / 1.168 GB, free: 10.69 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.6698, allocations: 0 / 1.168 GB, free: 10.69 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002535/0.67, allocations: 129.8 kB / 1.168 GB, free: 10.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.6701, allocations: 55.34 kB / 1.168 GB, free: 10.49 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.6701, allocations: 113.9 kB / 1.168 GB, free: 10.37 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6702, allocations: 29.7 kB / 1.168 GB, free: 10.33 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.6702, allocations: 92.19 kB / 1.168 GB, free: 10.24 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.6703, allocations: 43.38 kB / 1.168 GB, free: 10.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.6703, allocations: 17.72 kB / 1.168 GB, free: 10.17 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6704, allocations: 326.8 kB / 1.169 GB, free: 9.844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.6705, allocations: 27.98 kB / 1.169 GB, free: 9.816 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/0.6705, allocations: 69.12 kB / 1.169 GB, free: 9.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.6707, allocations: 117.1 kB / 1.169 GB, free: 9.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6707, allocations: 0 / 1.169 GB, free: 9.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001932/0.6709, allocations: 141.4 kB / 1.169 GB, free: 9.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.6709, allocations: 4 kB / 1.169 GB, free: 9.449 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6709, allocations: 8 kB / 1.169 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6709, allocations: 8.094 kB / 1.169 GB, free: 9.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.671, allocations: 27.92 kB / 1.169 GB, free: 9.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6711, allocations: 4 kB / 1.169 GB, free: 9.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.6711, allocations: 11.94 kB / 1.169 GB, free: 9.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.6711, allocations: 4 kB / 1.169 GB, free: 9.391 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/0.6712, allocations: 130.3 kB / 1.169 GB, free: 9.254 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.6713, allocations: 7.906 kB / 1.169 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.6715, allocations: 126.1 kB / 1.169 GB, free: 9.121 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6715, allocations: 3.938 kB / 1.169 GB, free: 9.117 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6715, allocations: 4 kB / 1.169 GB, free: 9.113 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6715, allocations: 3.984 kB / 1.169 GB, free: 9.109 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.6717, allocations: 177.6 kB / 1.17 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6717, allocations: 0 / 1.17 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.6718, allocations: 19.94 kB / 1.17 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6718, allocations: 0 / 1.17 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.6718, allocations: 4 kB / 1.17 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6718, allocations: 7.938 kB / 1.17 GB, free: 8.855 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6718, allocations: 0 / 1.17 GB, free: 8.855 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.672, allocations: 199.4 kB / 1.17 GB, free: 8.645 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.672, allocations: 96.94 kB / 1.17 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.672, allocations: 0 / 1.17 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.6721, allocations: 11.94 kB / 1.17 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.6721, allocations: 3.984 kB / 1.17 GB, free: 8.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.6721, allocations: 4 kB / 1.17 GB, free: 8.512 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.6722, allocations: 95.22 kB / 1.17 GB, free: 8.418 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6722, allocations: 0 / 1.17 GB, free: 8.418 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003287/0.6725, allocations: 75.92 kB / 1.17 GB, free: 8.344 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006173/0.6732, allocations: 0.8195 MB / 1.171 GB, free: 7.496 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.6733, allocations: 79.84 kB / 1.171 GB, free: 7.418 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6733, allocations: 0 / 1.171 GB, free: 7.418 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.6734, allocations: 39.97 kB / 1.171 GB, free: 7.379 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.6736, allocations: 16.7 kB / 1.171 GB, free: 7.363 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.6741, allocations: 269.1 kB / 1.171 GB, free: 7.062 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.6744, allocations: 0.6887 MB / 1.172 GB, free: 6.348 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.6745, allocations: 56.42 kB / 1.172 GB, free: 6.289 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.6746, allocations: 27.42 kB / 1.172 GB, free: 6.262 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.6746, allocations: 0 / 1.172 GB, free: 6.262 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.525/1.2, allocations: 2.961 MB / 1.175 GB, free: 3.531 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/1.2, allocations: 258.3 kB / 1.175 GB, free: 3.191 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/3.171, allocations: 1.875 kB / 1.175 GB, free: 3.191 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cpe10,cpe15,cpe20,cpe25,cpe30 Variables in the result:TIn[1,1],TIn[1,2],TIn[1,3],TIn[1,4],TIn[1,5],TOut[1,1],TOut[1,2],TOut[1,3],TOut[1,4],TOut[1,5],cpe10,cpe15,cpe20,cpe25,cpe30,deltaT,time