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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001501/0.001501, allocations: 108 kB / 15.6 MB, free: 132 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.001774/0.001774, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5681/0.5694, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002244/0.5717, allocations: 1.327 MB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.136/0.7077, allocations: 147.9 MB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.7078, allocations: 4 kB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.7079, allocations: 3.984 kB / 1.163 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.708, allocations: 43.88 kB / 1.163 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.7091, allocations: 358.4 kB / 1.164 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.7092, allocations: 71.73 kB / 1.164 GB, free: 12.22 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.7092, allocations: 3.984 kB / 1.164 GB, free: 12.21 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.7093, allocations: 35.91 kB / 1.164 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.7094, allocations: 55.81 kB / 1.164 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.7094, allocations: 4 kB / 1.164 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.7102, allocations: 411.1 kB / 1.164 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.7102, allocations: 23.97 kB / 1.164 GB, free: 11.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.7103, allocations: 23.88 kB / 1.164 GB, free: 11.67 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.7108, allocations: 277.6 kB / 1.164 GB, free: 11.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.7108, allocations: 0 / 1.164 GB, free: 11.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.81e-07/0.7108, allocations: 4 kB / 1.164 GB, free: 11.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7109, allocations: 0 / 1.164 GB, free: 11.4 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.0004071/0.7113, allocations: 395.4 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7113, allocations: 8.031 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.7114, allocations: 34.75 kB / 1.165 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.7114, allocations: 8.844 kB / 1.165 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.7116, allocations: 176.1 kB / 1.165 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.7116, allocations: 0 / 1.165 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.7116, allocations: 4 kB / 1.165 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.7118, allocations: 105.5 kB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7119, allocations: 0 / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.7119, allocations: 4 kB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.7119, allocations: 8 kB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.7121, allocations: 75.95 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.7126, allocations: 336.7 kB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.7128, allocations: 98.48 kB / 1.166 GB, free: 10.01 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.7129, allocations: 56.89 kB / 1.166 GB, free: 9.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009525/0.7139, allocations: 469.4 kB / 1.166 GB, free: 9.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.7139, allocations: 34.56 kB / 1.166 GB, free: 9.359 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.7139, allocations: 0 / 1.166 GB, free: 9.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002968/0.7142, allocations: 129.5 kB / 1.166 GB, free: 9.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.7143, allocations: 59.34 kB / 1.166 GB, free: 9.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.7144, allocations: 117.9 kB / 1.166 GB, free: 9.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.7144, allocations: 29.7 kB / 1.166 GB, free: 8.996 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.7145, allocations: 96.17 kB / 1.167 GB, free: 8.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.7145, allocations: 39.39 kB / 1.167 GB, free: 8.859 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.7146, allocations: 29.72 kB / 1.167 GB, free: 8.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7147, allocations: 326.8 kB / 1.167 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.7148, allocations: 31.98 kB / 1.167 GB, free: 8.465 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.7148, allocations: 71.52 kB / 1.167 GB, free: 8.379 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.715, allocations: 113.1 kB / 1.167 GB, free: 8.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.715, allocations: 0 / 1.167 GB, free: 8.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002037/0.7152, allocations: 141.8 kB / 1.167 GB, free: 8.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.7153, allocations: 10.03 kB / 1.167 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7153, allocations: 0 / 1.167 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7153, allocations: 7.938 kB / 1.167 GB, free: 8.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.7154, allocations: 27.92 kB / 1.167 GB, free: 8.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.7154, allocations: 8.156 kB / 1.167 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.7155, allocations: 15.84 kB / 1.167 GB, free: 8.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.7155, allocations: 4 kB / 1.167 GB, free: 8.035 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 0.0001036/0.7156, allocations: 129.8 kB / 1.167 GB, free: 7.898 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.7157, allocations: 4 kB / 1.167 GB, free: 7.895 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.7159, allocations: 129.9 kB / 1.168 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7159, allocations: 3.938 kB / 1.168 GB, free: 7.762 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7159, allocations: 0 / 1.168 GB, free: 7.762 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.7159, allocations: 7.969 kB / 1.168 GB, free: 7.754 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.7162, allocations: 177.7 kB / 1.168 GB, free: 7.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7162, allocations: 0 / 1.168 GB, free: 7.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.7162, allocations: 23.92 kB / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7163, allocations: 0 / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7163, allocations: 0 / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7163, allocations: 3.938 kB / 1.168 GB, free: 7.504 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7163, allocations: 0 / 1.168 GB, free: 7.504 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.7165, allocations: 207.3 kB / 1.168 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.7166, allocations: 93.09 kB / 1.168 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.7166, allocations: 0 / 1.168 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.7166, allocations: 7.938 kB / 1.168 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.7167, allocations: 4 kB / 1.168 GB, free: 7.164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.7167, allocations: 4 kB / 1.168 GB, free: 7.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.7167, allocations: 99.45 kB / 1.168 GB, free: 7.062 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7167, allocations: 0 / 1.168 GB, free: 7.062 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003694/0.7171, allocations: 79.92 kB / 1.168 GB, free: 6.984 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.0007045/0.7178, allocations: 0.81 MB / 1.169 GB, free: 6.145 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.718, allocations: 95.84 kB / 1.169 GB, free: 6.051 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.718, allocations: 0 / 1.169 GB, free: 6.051 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.7181, allocations: 43.91 kB / 1.169 GB, free: 6.008 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.7183, allocations: 25.69 kB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.7189, allocations: 248.4 kB / 1.169 GB, free: 5.699 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.7191, allocations: 0.6885 MB / 1.17 GB, free: 4.984 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.7193, allocations: 56.97 kB / 1.17 GB, free: 4.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.7193, allocations: 15.44 kB / 1.17 GB, free: 4.914 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.7193, allocations: 0 / 1.17 GB, free: 4.914 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8347/1.554, allocations: 3.154 MB / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/9.405, allocations: 16.09 kB / 1.173 GB, free: 1.93 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