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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_latest_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_latest_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.001582/0.001582, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 196.5 kB / 16.53 MB, free: 6.656 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: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7347 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.73 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2284, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002287/0.2307, allocations: 1.341 MB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1373/0.368, allocations: 147.9 MB / 1.199 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.3681, allocations: 0 / 1.199 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.3682, allocations: 0 / 1.199 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.3683, allocations: 39.86 kB / 1.199 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3694, allocations: 362.5 kB / 1.199 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.3695, allocations: 67.83 kB / 1.199 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.3695, allocations: 3.938 kB / 1.199 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.3696, allocations: 35.95 kB / 1.199 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3697, allocations: 51.83 kB / 1.199 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3697, allocations: 4 kB / 1.199 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007685/0.3705, allocations: 411.1 kB / 1.2 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.3705, allocations: 27.95 kB / 1.2 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.3706, allocations: 23.88 kB / 1.2 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.3711, allocations: 275.7 kB / 1.2 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3711, allocations: 0 / 1.2 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3711, allocations: 4 kB / 1.2 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3711, allocations: 0 / 1.2 GB, free: 1.152 MB / 0.9512 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.0004062/0.3715, allocations: 407.2 kB / 1.2 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3716, allocations: 8.625 kB / 1.2 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.3716, allocations: 34.75 kB / 1.2 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.3716, allocations: 4.938 kB / 1.2 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.3717, allocations: 168.1 kB / 1.2 GB, free: 460 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3717, allocations: 4 kB / 1.2 GB, free: 456 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3718, allocations: 7.938 kB / 1.201 GB, free: 448 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3719, allocations: 97.64 kB / 1.201 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3719, allocations: 0 / 1.201 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.372, allocations: 3.984 kB / 1.201 GB, free: 340 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.372, allocations: 12 kB / 1.201 GB, free: 328 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3721, allocations: 75.95 kB / 1.201 GB, free: 252 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.3725, allocations: 336.7 kB / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3727, allocations: 102.5 kB / 1.201 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.3728, allocations: 56.89 kB / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008428/0.3737, allocations: 469.4 kB / 1.202 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3737, allocations: 30.56 kB / 1.202 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3737, allocations: 0 / 1.202 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.000271/0.374, allocations: 145.4 kB / 1.202 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.374, allocations: 51.41 kB / 1.202 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.3741, allocations: 109.8 kB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3741, allocations: 25.7 kB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3742, allocations: 104.2 kB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.3742, allocations: 31.47 kB / 1.202 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3743, allocations: 37.61 kB / 1.202 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.3744, allocations: 322.8 kB / 1.202 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.3744, allocations: 31.98 kB / 1.202 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.3745, allocations: 70.81 kB / 1.203 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3746, allocations: 113 kB / 1.203 GB, free: 14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3746, allocations: 4 kB / 1.203 GB, free: 14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001918/0.3748, allocations: 134 kB / 1.203 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3749, allocations: 8 kB / 1.203 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3749, allocations: 3.938 kB / 1.203 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3749, allocations: 7.938 kB / 1.203 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.375, allocations: 28.14 kB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.375, allocations: 4.25 kB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.3751, allocations: 11.84 kB / 1.203 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3751, allocations: 12 kB / 1.203 GB, free: 13.79 MB / 0.9669 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 8.467e-05/0.3752, allocations: 121.8 kB / 1.203 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3752, allocations: 7.906 kB / 1.203 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.3754, allocations: 129.9 kB / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3754, allocations: 3.938 kB / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3754, allocations: 0 / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3755, allocations: 0 / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3756, allocations: 181.6 kB / 1.203 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3756, allocations: 0 / 1.203 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.3757, allocations: 27.92 kB / 1.203 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3757, allocations: 0 / 1.203 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3757, allocations: 0 / 1.203 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3757, allocations: 3.938 kB / 1.203 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3757, allocations: 0 / 1.203 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.3759, allocations: 199.5 kB / 1.203 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.376, allocations: 97 kB / 1.204 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.376, allocations: 0 / 1.204 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.3761, allocations: 7.922 kB / 1.204 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.3761, allocations: 11.98 kB / 1.204 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3761, allocations: 7.938 kB / 1.204 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.3761, allocations: 87.27 kB / 1.204 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3762, allocations: 4 kB / 1.204 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003328/0.3765, allocations: 71.94 kB / 1.204 GB, free: 12.74 MB / 0.9669 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.0006171/0.3771, allocations: 0.8177 MB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.3773, allocations: 95.83 kB / 1.205 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3773, allocations: 0 / 1.205 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.3774, allocations: 43.86 kB / 1.205 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3776, allocations: 19.92 kB / 1.205 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.3781, allocations: 240.6 kB / 1.205 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3784, allocations: 0.6924 MB / 1.206 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.3785, allocations: 48.98 kB / 1.206 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.3786, allocations: 23.42 kB / 1.206 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3786, allocations: 0 / 1.206 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8295/1.208, allocations: 3.159 MB / 1.209 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/8.693, allocations: 8.719 kB / 1.209 GB, free: 7.695 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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