Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001929/0.001929, allocations: 108 kB / 15.61 MB, free: 152 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.001107/0.001107, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003347/0.003347, allocations: 70.61 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2584, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002266/0.2607, allocations: 1.329 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.4078, allocations: 147.9 MB / 1.21 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.4079, allocations: 0 / 1.21 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.408, allocations: 3.938 kB / 1.21 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.4081, allocations: 43.86 kB / 1.21 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.409, allocations: 354.6 kB / 1.21 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.4091, allocations: 71.81 kB / 1.21 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.4092, allocations: 0 / 1.21 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.4092, allocations: 35.86 kB / 1.21 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.504e-05/0.4093, allocations: 55.86 kB / 1.21 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.4093, allocations: 7.938 kB / 1.21 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006444/0.41, allocations: 403.1 kB / 1.211 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.41, allocations: 31.94 kB / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.4101, allocations: 27.88 kB / 1.211 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.4105, allocations: 271.7 kB / 1.211 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4105, allocations: 0 / 1.211 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4105, allocations: 0 / 1.211 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.4105, allocations: 0 / 1.211 GB, free: 7.156 MB / 0.9669 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.0003978/0.4109, allocations: 407.2 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.4109, allocations: 8.031 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.411, allocations: 46.73 kB / 1.212 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.411, allocations: 0.9375 kB / 1.212 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4111, allocations: 180 kB / 1.212 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.4111, allocations: 0 / 1.212 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4112, allocations: 7.984 kB / 1.212 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4113, allocations: 85.66 kB / 1.212 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.4113, allocations: 4 kB / 1.212 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4113, allocations: 4 kB / 1.212 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.4114, allocations: 11.98 kB / 1.212 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.4115, allocations: 75.95 kB / 1.212 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.4119, allocations: 348.6 kB / 1.212 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4121, allocations: 98.53 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.4121, allocations: 56.8 kB / 1.212 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/0.4129, allocations: 465.4 kB / 1.213 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.413, allocations: 38.56 kB / 1.213 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.413, allocations: 0 / 1.213 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002355/0.4132, allocations: 129.8 kB / 1.213 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4132, allocations: 55.41 kB / 1.213 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.4133, allocations: 109.8 kB / 1.213 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4133, allocations: 29.7 kB / 1.213 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.4134, allocations: 104.2 kB / 1.213 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.4134, allocations: 31.55 kB / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.4135, allocations: 45.61 kB / 1.213 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4136, allocations: 314.8 kB / 1.214 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.4137, allocations: 27.97 kB / 1.214 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.4137, allocations: 69.14 kB / 1.214 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4139, allocations: 120.9 kB / 1.214 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4139, allocations: 0 / 1.214 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001793/0.4141, allocations: 137.5 kB / 1.214 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4141, allocations: 9.562 kB / 1.214 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4141, allocations: 7.984 kB / 1.214 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4141, allocations: 7.938 kB / 1.214 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.4142, allocations: 20 kB / 1.214 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.4142, allocations: 11.92 kB / 1.214 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.4143, allocations: 11.84 kB / 1.214 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.4143, allocations: 8 kB / 1.214 GB, free: 3.773 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.737e-05/0.4144, allocations: 117.8 kB / 1.214 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.4144, allocations: 7.906 kB / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.4146, allocations: 138 kB / 1.214 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4146, allocations: 3.938 kB / 1.214 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.4146, allocations: 256 / 1.214 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4147, allocations: 0 / 1.214 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.4148, allocations: 181.7 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4148, allocations: 0 / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.4149, allocations: 19.98 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4149, allocations: 0 / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.4149, allocations: 4 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4149, allocations: 3.938 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4149, allocations: 0 / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.4151, allocations: 199.3 kB / 1.215 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.4152, allocations: 97 kB / 1.215 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.4152, allocations: 0 / 1.215 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.4152, allocations: 7.938 kB / 1.215 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.4153, allocations: 7.984 kB / 1.215 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4153, allocations: 8 kB / 1.215 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.4153, allocations: 91.27 kB / 1.215 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4153, allocations: 0 / 1.215 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002839/0.4156, allocations: 67.94 kB / 1.215 GB, free: 2.734 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.0006216/0.4162, allocations: 0.8236 MB / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.4164, allocations: 95.89 kB / 1.216 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.4164, allocations: 0 / 1.216 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.4165, allocations: 35.92 kB / 1.216 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4167, allocations: 35.31 kB / 1.216 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.4172, allocations: 232.4 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4174, allocations: 0.6885 MB / 1.217 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.4176, allocations: 56.42 kB / 1.217 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.4176, allocations: 23.42 kB / 1.217 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4176, allocations: 0 / 1.217 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.051/1.469, allocations: 3.162 MB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.77, allocations: 2.688 kB / 1.22 GB, free: 13.69 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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