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.001551/0.001551, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00185/0.00185, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.465/2.465, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001669, allocations: 67.89 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5974, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002357/0.5998, allocations: 1.398 MB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1381/0.7379, allocations: 145.7 MB / 1.161 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.7379, allocations: 0 / 1.161 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.738, allocations: 0 / 1.161 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.7382, allocations: 43.86 kB / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.7392, allocations: 326.9 kB / 1.161 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.7393, allocations: 71.72 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.7394, allocations: 0 / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.7394, allocations: 39.84 kB / 1.161 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.7395, allocations: 59.88 kB / 1.161 GB, free: 14.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.7396, allocations: 4 kB / 1.161 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000748/0.7403, allocations: 431 kB / 1.162 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.7404, allocations: 19.97 kB / 1.162 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.7404, allocations: 23.88 kB / 1.162 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.7409, allocations: 289.6 kB / 1.162 GB, free: 13.74 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7409, allocations: 4 kB / 1.162 GB, free: 13.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7409, allocations: 0 / 1.162 GB, free: 13.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7409, allocations: 3.938 kB / 1.162 GB, free: 13.73 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.0003897/0.7413, allocations: 391.3 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.7414, allocations: 12.03 kB / 1.162 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.7414, allocations: 42.69 kB / 1.162 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.7415, allocations: 8.844 kB / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.7416, allocations: 176.1 kB / 1.162 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.7416, allocations: 0 / 1.162 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.7416, allocations: 4 kB / 1.162 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.7418, allocations: 99.64 kB / 1.163 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.7418, allocations: 0 / 1.163 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.7418, allocations: 0 / 1.163 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.7418, allocations: 12 kB / 1.163 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.742, allocations: 79.95 kB / 1.163 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.7423, allocations: 340.7 kB / 1.163 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.7425, allocations: 98.58 kB / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.7426, allocations: 56.89 kB / 1.163 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008169/0.7434, allocations: 469.4 kB / 1.164 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.7435, allocations: 34.56 kB / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.7435, allocations: 0 / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002377/0.7437, allocations: 125.4 kB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.7437, allocations: 59.41 kB / 1.164 GB, free: 11.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.7438, allocations: 117.9 kB / 1.164 GB, free: 11.36 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.7439, allocations: 25.7 kB / 1.164 GB, free: 11.33 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.7439, allocations: 100.2 kB / 1.164 GB, free: 11.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.7439, allocations: 47.39 kB / 1.164 GB, free: 11.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.744, allocations: 33.66 kB / 1.164 GB, free: 11.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.7441, allocations: 318.8 kB / 1.164 GB, free: 10.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.7442, allocations: 27.98 kB / 1.164 GB, free: 10.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.7442, allocations: 73.12 kB / 1.164 GB, free: 10.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.7444, allocations: 113.1 kB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7444, allocations: 0 / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001943/0.7446, allocations: 141.5 kB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7446, allocations: 4 kB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7446, allocations: 4 kB / 1.165 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7446, allocations: 3.938 kB / 1.165 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.7447, allocations: 35.92 kB / 1.165 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.7447, allocations: 0 / 1.165 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.7448, allocations: 11.84 kB / 1.165 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.7448, allocations: 4 kB / 1.165 GB, free: 10.37 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 8.922e-05/0.7449, allocations: 130.3 kB / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.7449, allocations: 8.062 kB / 1.165 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.7451, allocations: 126.3 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7452, allocations: 11.92 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7452, allocations: 0 / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.7452, allocations: 0 / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.7453, allocations: 177.7 kB / 1.165 GB, free: 9.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7454, allocations: 0 / 1.165 GB, free: 9.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.7454, allocations: 19.92 kB / 1.165 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.7454, allocations: 8 kB / 1.165 GB, free: 9.836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.7454, allocations: 4 kB / 1.165 GB, free: 9.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7455, allocations: 3.938 kB / 1.165 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7455, allocations: 0 / 1.165 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.7456, allocations: 203.3 kB / 1.165 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.7457, allocations: 85.09 kB / 1.166 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.7457, allocations: 8.25 kB / 1.166 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.7458, allocations: 7.938 kB / 1.166 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.7458, allocations: 8 kB / 1.166 GB, free: 9.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.7458, allocations: 0 / 1.166 GB, free: 9.488 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.7459, allocations: 91.27 kB / 1.166 GB, free: 9.398 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7459, allocations: 0 / 1.166 GB, free: 9.398 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000338/0.7462, allocations: 79.92 kB / 1.166 GB, free: 9.32 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.0006251/0.7468, allocations: 0.8217 MB / 1.167 GB, free: 8.469 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.747, allocations: 87.84 kB / 1.167 GB, free: 8.383 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.747, allocations: 4 kB / 1.167 GB, free: 8.379 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.7471, allocations: 35.97 kB / 1.167 GB, free: 8.344 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.7473, allocations: 20.25 kB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.7479, allocations: 268 kB / 1.167 GB, free: 8.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.7481, allocations: 0.6885 MB / 1.168 GB, free: 7.305 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.7482, allocations: 56.97 kB / 1.168 GB, free: 7.25 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.7483, allocations: 20.84 kB / 1.168 GB, free: 7.23 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.7483, allocations: 0 / 1.168 GB, free: 7.23 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.301/1.049, allocations: 3.081 MB / 1.171 GB, free: 4.379 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.05, allocations: 260.9 kB / 1.171 GB, free: 4.023 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.709, allocations: 7.312 kB / 1.171 GB, free: 4.02 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