Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001239/0.001239, 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.001255/0.001255, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.371/2.371, allocations: 461.9 MB / 0.7344 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.73 kB / 0.8987 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2276, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002134/0.2298, allocations: 1.402 MB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.3803, allocations: 145.7 MB / 1.196 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.3804, allocations: 4 kB / 1.196 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.3804, allocations: 4 kB / 1.196 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3806, allocations: 43.86 kB / 1.196 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.3816, allocations: 326.8 kB / 1.196 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.3817, allocations: 75.75 kB / 1.197 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.3817, allocations: 7.984 kB / 1.197 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.3818, allocations: 27.91 kB / 1.197 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.3819, allocations: 67.81 kB / 1.197 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3819, allocations: 0 / 1.197 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007011/0.3826, allocations: 419.1 kB / 1.197 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.3827, allocations: 19.97 kB / 1.197 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.3827, allocations: 27.88 kB / 1.197 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.3833, allocations: 287.6 kB / 1.197 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3833, allocations: 0 / 1.197 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3833, allocations: 0 / 1.197 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3833, allocations: 4 kB / 1.197 GB, free: 3.711 MB / 0.9512 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.000366/0.3837, allocations: 399.3 kB / 1.198 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3837, allocations: 8.625 kB / 1.198 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.3837, allocations: 38.75 kB / 1.198 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.3838, allocations: 8.875 kB / 1.198 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.651e-05/0.3839, allocations: 172 kB / 1.198 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3839, allocations: 11.97 kB / 1.198 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3839, allocations: 4 kB / 1.198 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3841, allocations: 93.66 kB / 1.198 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3841, allocations: 0 / 1.198 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3841, allocations: 0 / 1.198 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.3841, allocations: 8 kB / 1.198 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3842, allocations: 83.89 kB / 1.198 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.3846, allocations: 344.6 kB / 1.198 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3848, allocations: 94.61 kB / 1.199 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.3849, allocations: 60.83 kB / 1.199 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007749/0.3857, allocations: 465.4 kB / 1.199 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3857, allocations: 30.56 kB / 1.199 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.3857, allocations: 0 / 1.199 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002475/0.3859, allocations: 141.5 kB / 1.199 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.386, allocations: 55.41 kB / 1.199 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.3861, allocations: 109.8 kB / 1.199 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3861, allocations: 25.7 kB / 1.199 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.3861, allocations: 104.2 kB / 1.2 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.3862, allocations: 39.44 kB / 1.2 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.3862, allocations: 33.62 kB / 1.2 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.3863, allocations: 322.8 kB / 1.2 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.3864, allocations: 35.92 kB / 1.2 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.3864, allocations: 69.12 kB / 1.2 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3866, allocations: 117 kB / 1.2 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3866, allocations: 4 kB / 1.2 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000177/0.3868, allocations: 133.5 kB / 1.2 GB, free: 412 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3868, allocations: 9.406 kB / 1.2 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3868, allocations: 0 / 1.2 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3868, allocations: 7.938 kB / 1.2 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.3869, allocations: 23.98 kB / 1.2 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.3869, allocations: 12.09 kB / 1.2 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.387, allocations: 11.84 kB / 1.2 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.387, allocations: 8 kB / 1.2 GB, free: 340 kB / 0.9512 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.294e-05/0.3871, allocations: 121.8 kB / 1.2 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.3871, allocations: 7.906 kB / 1.2 GB, free: 200 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.3873, allocations: 126.3 kB / 1.201 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3873, allocations: 7.938 kB / 1.201 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3873, allocations: 0 / 1.201 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3873, allocations: 0 / 1.201 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.3875, allocations: 177.7 kB / 1.201 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3875, allocations: 0 / 1.201 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.3876, allocations: 23.98 kB / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3876, allocations: 0 / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3876, allocations: 0 / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3876, allocations: 4.188 kB / 1.201 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3876, allocations: 4 kB / 1.201 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3878, allocations: 199.3 kB / 1.201 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.3878, allocations: 101 kB / 1.201 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3879, allocations: 3.984 kB / 1.201 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.3879, allocations: 3.938 kB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3879, allocations: 8 kB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3879, allocations: 4 kB / 1.201 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.388, allocations: 87.27 kB / 1.201 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.388, allocations: 0 / 1.201 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003101/0.3883, allocations: 83.92 kB / 1.201 GB, free: 15.29 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.0005844/0.3889, allocations: 0.8101 MB / 1.202 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.3891, allocations: 95.94 kB / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3891, allocations: 0 / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.3891, allocations: 39.92 kB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.3894, allocations: 25.08 kB / 1.202 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.3899, allocations: 264.6 kB / 1.202 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3901, allocations: 0.6924 MB / 1.203 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.3902, allocations: 56.86 kB / 1.203 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.3902, allocations: 15.44 kB / 1.203 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3903, allocations: 0 / 1.203 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.603/3.994, allocations: 3.092 MB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/3.994, allocations: 269.8 kB / 1.206 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/5.694, allocations: 0 / 1.206 GB, free: 9.992 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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