Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0011/0.0011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00108/0.00108, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.5001, allocations: 140.4 MB / 0.9493 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001952/0.5021, allocations: 1.379 MB / 0.9506 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.6342, allocations: 145.7 MB / 1.093 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.6343, allocations: 4 kB / 1.093 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.6343, allocations: 3.938 kB / 1.093 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.6345, allocations: 39.8 kB / 1.093 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009969/0.6355, allocations: 330.8 kB / 1.093 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.6356, allocations: 67.8 kB / 1.093 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.6357, allocations: 4 kB / 1.093 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.559e-05/0.6357, allocations: 31.97 kB / 1.093 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.6359, allocations: 55.88 kB / 1.093 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.6359, allocations: 4 kB / 1.093 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.6366, allocations: 419 kB / 1.094 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.6366, allocations: 27.91 kB / 1.094 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.6367, allocations: 35.86 kB / 1.094 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.6371, allocations: 281.6 kB / 1.094 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.6371, allocations: 0 / 1.094 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6371, allocations: 0 / 1.094 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.6371, allocations: 0 / 1.094 GB, free: 13.1 MB / 0.8575 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.0003832/0.6375, allocations: 403.3 kB / 1.095 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6376, allocations: 12.03 kB / 1.095 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.6376, allocations: 30.75 kB / 1.095 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.6376, allocations: 16.84 kB / 1.095 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.6377, allocations: 175.5 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6378, allocations: 7.984 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.6378, allocations: 0 / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.6379, allocations: 99.28 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.638, allocations: 0 / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.638, allocations: 4 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.638, allocations: 8 kB / 1.095 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.6381, allocations: 75.95 kB / 1.095 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.6385, allocations: 348.7 kB / 1.095 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.6387, allocations: 110.3 kB / 1.095 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.6388, allocations: 48.89 kB / 1.095 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.6395, allocations: 465.4 kB / 1.096 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.6396, allocations: 42.56 kB / 1.096 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.6396, allocations: 0 / 1.096 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002394/0.6398, allocations: 129.5 kB / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.6399, allocations: 51.41 kB / 1.096 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.6399, allocations: 113.9 kB / 1.096 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.64, allocations: 33.7 kB / 1.096 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.64, allocations: 92.17 kB / 1.096 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.64, allocations: 43.38 kB / 1.096 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.6401, allocations: 33.72 kB / 1.096 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.6402, allocations: 322.8 kB / 1.097 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.6402, allocations: 27.98 kB / 1.097 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.6403, allocations: 69.12 kB / 1.097 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.6404, allocations: 121 kB / 1.097 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6404, allocations: 0 / 1.097 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001843/0.6406, allocations: 141.4 kB / 1.097 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6407, allocations: 8.094 kB / 1.097 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6407, allocations: 8 kB / 1.097 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.6407, allocations: 0 / 1.097 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.6408, allocations: 23.98 kB / 1.097 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.6408, allocations: 4 kB / 1.097 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.6408, allocations: 15.84 kB / 1.097 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.6409, allocations: 7.984 kB / 1.097 GB, free: 9.715 MB / 0.8575 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.884e-05/0.6409, allocations: 125.8 kB / 1.097 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.641, allocations: 7.938 kB / 1.097 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.6412, allocations: 126.4 kB / 1.097 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6412, allocations: 0 / 1.097 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.6412, allocations: 4.25 kB / 1.097 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6412, allocations: 11.86 kB / 1.097 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.6414, allocations: 173.7 kB / 1.098 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.6414, allocations: 0 / 1.098 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.6415, allocations: 19.98 kB / 1.098 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6415, allocations: 3.938 kB / 1.098 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.6415, allocations: 4 kB / 1.098 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6415, allocations: 4 kB / 1.098 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6415, allocations: 0 / 1.098 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.6417, allocations: 203.3 kB / 1.098 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.6417, allocations: 89.09 kB / 1.098 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.6417, allocations: 3.938 kB / 1.098 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.6418, allocations: 11.94 kB / 1.098 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.6418, allocations: 0 / 1.098 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.6418, allocations: 11.98 kB / 1.098 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.6419, allocations: 87.28 kB / 1.098 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6419, allocations: 3.938 kB / 1.098 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003257/0.6422, allocations: 75.92 kB / 1.098 GB, free: 8.668 MB / 0.8575 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.000581/0.6428, allocations: 0.8138 MB / 1.099 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.643, allocations: 96.11 kB / 1.099 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.643, allocations: 4 kB / 1.099 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.249e-05/0.643, allocations: 44.06 kB / 1.099 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.6433, allocations: 16.31 kB / 1.099 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.6438, allocations: 260.4 kB / 1.099 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.644, allocations: 0.6846 MB / 1.1 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.6442, allocations: 60.58 kB / 1.1 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.6442, allocations: 19.44 kB / 1.1 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.6442, allocations: 0 / 1.1 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2654/0.9096, allocations: 3.089 MB / 1.103 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.9099, allocations: 265 kB / 1.103 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.68, allocations: 2.812 kB / 1.103 GB, free: 3.387 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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