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.001593/0.001593, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001793/0.001793, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.456/2.456, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 63.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5187, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002254/0.521, allocations: 1.388 MB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.6519, allocations: 145.6 MB / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.6519, allocations: 0 / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.652, allocations: 3.938 kB / 1.16 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.6522, allocations: 43.92 kB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000917/0.6531, allocations: 322.8 kB / 1.161 GB, free: 14.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.6533, allocations: 187.6 kB / 1.161 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.983e-05/0.6533, allocations: 4 kB / 1.161 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.6534, allocations: 27.97 kB / 1.161 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.6535, allocations: 55.88 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.6535, allocations: 4 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.6543, allocations: 447 kB / 1.161 GB, free: 14.15 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.6543, allocations: 23.97 kB / 1.161 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.6544, allocations: 27.86 kB / 1.161 GB, free: 14.1 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.6548, allocations: 289.5 kB / 1.162 GB, free: 13.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6549, allocations: 0 / 1.162 GB, free: 13.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.81e-07/0.6549, allocations: 0 / 1.162 GB, free: 13.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6549, allocations: 3.938 kB / 1.162 GB, free: 13.82 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.0003731/0.6553, allocations: 395.3 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6553, allocations: 8.031 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.6553, allocations: 46.72 kB / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.6554, allocations: 8.844 kB / 1.162 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.147e-05/0.6555, allocations: 172.1 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.6555, allocations: 4 kB / 1.162 GB, free: 13.1 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.6555, allocations: 0 / 1.162 GB, free: 13.1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.6557, allocations: 93.59 kB / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.6557, allocations: 0 / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.6557, allocations: 0 / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.6557, allocations: 15.98 kB / 1.162 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.6559, allocations: 75.95 kB / 1.162 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.6563, allocations: 348.7 kB / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.6564, allocations: 102.5 kB / 1.163 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.6565, allocations: 44.91 kB / 1.163 GB, free: 12.37 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007898/0.6573, allocations: 473.4 kB / 1.163 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.6573, allocations: 30.56 kB / 1.163 GB, free: 11.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.6573, allocations: 4 kB / 1.163 GB, free: 11.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002464/0.6576, allocations: 133.5 kB / 1.164 GB, free: 11.63 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.6576, allocations: 51.41 kB / 1.164 GB, free: 11.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.6577, allocations: 113.9 kB / 1.164 GB, free: 11.45 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6577, allocations: 29.7 kB / 1.164 GB, free: 11.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.6578, allocations: 96.19 kB / 1.164 GB, free: 11.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.6578, allocations: 43.38 kB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.6579, allocations: 33.7 kB / 1.164 GB, free: 11.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.6579, allocations: 318.8 kB / 1.164 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.658, allocations: 27.98 kB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.6581, allocations: 74.81 kB / 1.164 GB, free: 10.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.6582, allocations: 129.3 kB / 1.164 GB, free: 10.65 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6582, allocations: 0 / 1.164 GB, free: 10.65 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001982/0.6584, allocations: 141.5 kB / 1.165 GB, free: 10.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.6585, allocations: 4 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6585, allocations: 0 / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6585, allocations: 7.938 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.6586, allocations: 23.98 kB / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.6586, allocations: 4 kB / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.6587, allocations: 15.84 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.6587, allocations: 7.938 kB / 1.165 GB, free: 10.45 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 7.651e-05/0.6587, allocations: 130.4 kB / 1.165 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.6588, allocations: 7.906 kB / 1.165 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.659, allocations: 122 kB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.659, allocations: 7.922 kB / 1.165 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.659, allocations: 0 / 1.165 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.659, allocations: 7.938 kB / 1.165 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.6592, allocations: 173.7 kB / 1.165 GB, free: 9.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6592, allocations: 0 / 1.165 GB, free: 9.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.6593, allocations: 20 kB / 1.165 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.6593, allocations: 0 / 1.165 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.6593, allocations: 256 / 1.165 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.6593, allocations: 7.938 kB / 1.165 GB, free: 9.918 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6593, allocations: 7.984 kB / 1.165 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.6595, allocations: 195.3 kB / 1.165 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.6595, allocations: 97 kB / 1.165 GB, free: 9.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.6596, allocations: 3.984 kB / 1.165 GB, free: 9.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.6596, allocations: 15.88 kB / 1.165 GB, free: 9.57 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.6596, allocations: 7.984 kB / 1.165 GB, free: 9.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.6597, allocations: 4 kB / 1.165 GB, free: 9.559 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.6597, allocations: 87.28 kB / 1.165 GB, free: 9.473 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6597, allocations: 0 / 1.165 GB, free: 9.473 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003333/0.66, allocations: 75.92 kB / 1.166 GB, free: 9.398 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.0005934/0.6606, allocations: 0.81 MB / 1.166 GB, free: 8.559 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.6608, allocations: 87.83 kB / 1.166 GB, free: 8.473 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.6608, allocations: 0 / 1.166 GB, free: 8.473 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.6609, allocations: 36.23 kB / 1.166 GB, free: 8.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.6611, allocations: 23.94 kB / 1.166 GB, free: 8.414 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.6616, allocations: 261.9 kB / 1.167 GB, free: 8.117 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.6618, allocations: 0.6848 MB / 1.167 GB, free: 7.406 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.662, allocations: 61.12 kB / 1.167 GB, free: 7.348 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.662, allocations: 19.44 kB / 1.167 GB, free: 7.328 MB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.662, allocations: 0 / 1.167 GB, free: 7.328 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.308/2.97, allocations: 3.023 MB / 1.17 GB, free: 4.508 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003732/2.97, allocations: 266.2 kB / 1.171 GB, free: 4.148 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/5.386, allocations: 4 kB / 1.171 GB, free: 4.145 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