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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009845/0.0009846, allocations: 97.56 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.007832/0.007833, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5782/0.5785, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001032/0.5796, allocations: 1.054 MB / 0.9562 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1388/0.7184, allocations: 144 MB / 1.097 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.7185, allocations: 0 / 1.097 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.7185, allocations: 3.984 kB / 1.097 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.7187, allocations: 47.88 kB / 1.097 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009679/0.7197, allocations: 318.8 kB / 1.097 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.7199, allocations: 183.7 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.7199, allocations: 3.984 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.72, allocations: 35.91 kB / 1.097 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.7201, allocations: 55.88 kB / 1.098 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.7201, allocations: 4 kB / 1.098 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.7209, allocations: 435 kB / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.7209, allocations: 31.89 kB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.721, allocations: 53.58 kB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.7214, allocations: 289.5 kB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.7214, allocations: 0 / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7214, allocations: 0 / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.7214, allocations: 0 / 1.098 GB, free: 12.25 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.0003547/0.7218, allocations: 391.3 kB / 1.099 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7219, allocations: 8.031 kB / 1.099 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.7219, allocations: 42.73 kB / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.7219, allocations: 4.844 kB / 1.099 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.722, allocations: 171.6 kB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.722, allocations: 0 / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.7221, allocations: 7.938 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.7222, allocations: 101.5 kB / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.7222, allocations: 0 / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.7222, allocations: 4 kB / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.7223, allocations: 11.98 kB / 1.099 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.7224, allocations: 79.95 kB / 1.099 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.7228, allocations: 332.7 kB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.723, allocations: 114.4 kB / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.7231, allocations: 56.89 kB / 1.1 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007907/0.7238, allocations: 481.4 kB / 1.1 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.7239, allocations: 30.56 kB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.7239, allocations: 0 / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000236/0.7241, allocations: 121.5 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.7242, allocations: 63.38 kB / 1.1 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.7243, allocations: 121.9 kB / 1.1 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.7243, allocations: 25.7 kB / 1.1 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.7243, allocations: 92.19 kB / 1.1 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.7244, allocations: 43.39 kB / 1.1 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.7244, allocations: 21.7 kB / 1.101 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.7245, allocations: 314.8 kB / 1.101 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.7245, allocations: 35.97 kB / 1.101 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.7246, allocations: 69.14 kB / 1.101 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.7248, allocations: 109.4 kB / 1.101 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7248, allocations: 0 / 1.101 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001815/0.725, allocations: 145.4 kB / 1.101 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.725, allocations: 11.94 kB / 1.101 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.725, allocations: 0 / 1.101 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.725, allocations: 4 kB / 1.101 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.7251, allocations: 27.92 kB / 1.101 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7251, allocations: 4 kB / 1.101 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.7252, allocations: 11.94 kB / 1.101 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.7252, allocations: 7.984 kB / 1.101 GB, free: 8.883 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.661e-05/0.7253, allocations: 125.9 kB / 1.101 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.7253, allocations: 11.84 kB / 1.101 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.7255, allocations: 122.1 kB / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7255, allocations: 0 / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7255, allocations: 0 / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7255, allocations: 0 / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.7257, allocations: 197.7 kB / 1.102 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7257, allocations: 4 kB / 1.102 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.7258, allocations: 19.94 kB / 1.102 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.7258, allocations: 3.938 kB / 1.102 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.7258, allocations: 7.984 kB / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7258, allocations: 0 / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7258, allocations: 0 / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.726, allocations: 187.5 kB / 1.102 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.7261, allocations: 96.94 kB / 1.102 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.7261, allocations: 11.94 kB / 1.102 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.7261, allocations: 0 / 1.102 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.7262, allocations: 7.984 kB / 1.102 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.7262, allocations: 4 kB / 1.102 GB, free: 8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.7262, allocations: 91.27 kB / 1.102 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.372e-06/0.7262, allocations: 3.938 kB / 1.102 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003179/0.7265, allocations: 75.88 kB / 1.102 GB, free: 7.832 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.0005993/0.7271, allocations: 0.8138 MB / 1.103 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.7273, allocations: 91.77 kB / 1.103 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7273, allocations: 4.312 kB / 1.103 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.7274, allocations: 35.98 kB / 1.103 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.7276, allocations: 18.52 kB / 1.103 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.7281, allocations: 266 kB / 1.103 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.7283, allocations: 0.6965 MB / 1.104 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.7285, allocations: 49.2 kB / 1.104 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.7285, allocations: 23.42 kB / 1.104 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.7285, allocations: 0 / 1.104 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.338/2.066, allocations: 2.953 MB / 1.107 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/2.067, allocations: 277 kB / 1.107 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/4.066, allocations: 0 / 1.107 GB, free: 2.699 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