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: "" <> 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.0008793/0.0008793, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004951/0.004951, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 7.938 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2406, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001261/0.2419, allocations: 1.057 MB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1275/0.3694, allocations: 144 MB / 1.201 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.3695, allocations: 0 / 1.201 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.3695, allocations: 0 / 1.201 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.3697, allocations: 39.86 kB / 1.201 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.3706, allocations: 322.9 kB / 1.201 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3707, allocations: 187.7 kB / 1.201 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.3708, allocations: 4 kB / 1.201 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.3708, allocations: 27.91 kB / 1.201 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3709, allocations: 67.81 kB / 1.201 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.371, allocations: 0 / 1.201 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.3717, allocations: 435.1 kB / 1.202 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.3717, allocations: 23.91 kB / 1.202 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.3718, allocations: 49.58 kB / 1.202 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.3722, allocations: 287.6 kB / 1.202 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3722, allocations: 0 / 1.202 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.985e-06/0.3722, allocations: 3.984 kB / 1.202 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.3723, allocations: 0 / 1.202 GB, free: 1.75 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.0003409/0.3726, allocations: 395.3 kB / 1.202 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3726, allocations: 11.97 kB / 1.202 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.3727, allocations: 34.75 kB / 1.202 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.3727, allocations: 8.844 kB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.502e-05/0.3728, allocations: 172 kB / 1.202 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3728, allocations: 11.98 kB / 1.202 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3728, allocations: 4 kB / 1.202 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.373, allocations: 96.17 kB / 1.203 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.373, allocations: 0 / 1.203 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.373, allocations: 0 / 1.203 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.3731, allocations: 12 kB / 1.203 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3732, allocations: 79.89 kB / 1.203 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.3736, allocations: 344.6 kB / 1.203 GB, free: 468 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3737, allocations: 106.5 kB / 1.203 GB, free: 352 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.3738, allocations: 52.89 kB / 1.203 GB, free: 296 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.3746, allocations: 485.4 kB / 1.204 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3746, allocations: 30.56 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.3746, allocations: 4.094 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002299/0.3748, allocations: 133.4 kB / 1.204 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3749, allocations: 51.41 kB / 1.204 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.3749, allocations: 113.8 kB / 1.204 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.375, allocations: 25.7 kB / 1.204 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.375, allocations: 108.2 kB / 1.204 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.375, allocations: 39.44 kB / 1.204 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.3751, allocations: 17.72 kB / 1.204 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.3752, allocations: 318.8 kB / 1.204 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.3752, allocations: 31.97 kB / 1.204 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.3753, allocations: 69.08 kB / 1.205 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3754, allocations: 121 kB / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3754, allocations: 0 / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001808/0.3756, allocations: 141.9 kB / 1.205 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3756, allocations: 5.562 kB / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3756, allocations: 3.984 kB / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3757, allocations: 7.938 kB / 1.205 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.3758, allocations: 20 kB / 1.205 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.3758, allocations: 11.92 kB / 1.205 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3758, allocations: 11.84 kB / 1.205 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3759, allocations: 8 kB / 1.205 GB, free: 14.37 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 7.242e-05/0.3759, allocations: 122 kB / 1.205 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.376, allocations: 4 kB / 1.205 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3762, allocations: 133.8 kB / 1.205 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3762, allocations: 3.938 kB / 1.205 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3762, allocations: 4 kB / 1.205 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3762, allocations: 0 / 1.205 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3764, allocations: 173.7 kB / 1.205 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3764, allocations: 4 kB / 1.205 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.3764, allocations: 23.98 kB / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3764, allocations: 0 / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3765, allocations: 0 / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3765, allocations: 7.938 kB / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3765, allocations: 0 / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3766, allocations: 203.4 kB / 1.205 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.3767, allocations: 89.09 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3767, allocations: 0 / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.3768, allocations: 8.188 kB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3768, allocations: 11.98 kB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3768, allocations: 8 kB / 1.206 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.3769, allocations: 87.27 kB / 1.206 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3769, allocations: 0 / 1.206 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003131/0.3772, allocations: 71.94 kB / 1.206 GB, free: 13.33 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.0005678/0.3777, allocations: 0.8253 MB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.3779, allocations: 83.89 kB / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3779, allocations: 0 / 1.207 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.378, allocations: 40.17 kB / 1.207 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3782, allocations: 23.92 kB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.3787, allocations: 264.9 kB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3789, allocations: 0.6848 MB / 1.208 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.379, allocations: 57.08 kB / 1.208 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3791, allocations: 23.44 kB / 1.208 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3791, allocations: 0 / 1.208 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.864/2.243, allocations: 2.963 MB / 1.211 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/2.243, allocations: 269.9 kB / 1.211 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/3.991, allocations: 2.344 kB / 1.211 GB, free: 8.16 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