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.001803/0.001803, allocations: 108 kB / 15.61 MB, free: 152 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.002228/0.002228, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.581/1.581, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 469.4 MB / 0.742 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.16 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2465, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002173/0.2487, allocations: 1.343 MB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1336/0.3824, allocations: 147.9 MB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.3824, allocations: 0 / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.3825, allocations: 0 / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3827, allocations: 43.84 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3837, allocations: 362.5 kB / 1.21 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3838, allocations: 67.81 kB / 1.21 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.3838, allocations: 0 / 1.21 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.3839, allocations: 35.84 kB / 1.21 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.384, allocations: 55.88 kB / 1.21 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.384, allocations: 4 kB / 1.21 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007521/0.3848, allocations: 411.1 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.3849, allocations: 31.94 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.3849, allocations: 23.88 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.3854, allocations: 271.7 kB / 1.211 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3854, allocations: 0 / 1.211 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3854, allocations: 0 / 1.211 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3854, allocations: 0 / 1.211 GB, free: 7.477 MB / 0.9669 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.0003967/0.3858, allocations: 407.2 kB / 1.211 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3859, allocations: 8.031 kB / 1.211 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.3859, allocations: 38.75 kB / 1.211 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.3859, allocations: 4.938 kB / 1.211 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.386, allocations: 176 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.386, allocations: 4 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3861, allocations: 4 kB / 1.211 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3862, allocations: 87.34 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3862, allocations: 4 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3863, allocations: 7.984 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3863, allocations: 11.94 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3864, allocations: 79.95 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.3868, allocations: 340.6 kB / 1.212 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.387, allocations: 110.5 kB / 1.212 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.3871, allocations: 56.73 kB / 1.212 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/0.3879, allocations: 469.4 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3879, allocations: 30.56 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.3879, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002566/0.3882, allocations: 129.6 kB / 1.213 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3882, allocations: 55.41 kB / 1.213 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.162e-05/0.3883, allocations: 109.8 kB / 1.213 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3883, allocations: 25.7 kB / 1.213 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3884, allocations: 116.1 kB / 1.213 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3884, allocations: 27.56 kB / 1.213 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.3885, allocations: 37.61 kB / 1.213 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3886, allocations: 318.8 kB / 1.213 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.3886, allocations: 27.98 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.3887, allocations: 73.12 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3888, allocations: 113 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3888, allocations: 3.938 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001837/0.389, allocations: 141.6 kB / 1.214 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.389, allocations: 8 kB / 1.214 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3891, allocations: 0 / 1.214 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3891, allocations: 7.938 kB / 1.214 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.3892, allocations: 23.98 kB / 1.214 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3892, allocations: 4 kB / 1.214 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.3892, allocations: 7.844 kB / 1.214 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3893, allocations: 12 kB / 1.214 GB, free: 4.102 MB / 0.9669 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.432e-05/0.3893, allocations: 121.8 kB / 1.214 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.3894, allocations: 8 kB / 1.214 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.3896, allocations: 130.4 kB / 1.214 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3896, allocations: 3.938 kB / 1.214 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3896, allocations: 0 / 1.214 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3896, allocations: 0 / 1.214 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.3898, allocations: 181.6 kB / 1.214 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3898, allocations: 0 / 1.214 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.3899, allocations: 24.23 kB / 1.214 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3899, allocations: 4 kB / 1.214 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3899, allocations: 7.938 kB / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3899, allocations: 3.938 kB / 1.214 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3899, allocations: 0 / 1.214 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3901, allocations: 195.4 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.3901, allocations: 97 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3901, allocations: 0 / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.3902, allocations: 7.938 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.3902, allocations: 15.92 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3902, allocations: 4 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.3903, allocations: 83.27 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3903, allocations: 4 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003273/0.3906, allocations: 71.94 kB / 1.215 GB, free: 3.055 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.0005992/0.3912, allocations: 0.8197 MB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.3914, allocations: 99.88 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3914, allocations: 0 / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.3915, allocations: 40.23 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3917, allocations: 27.86 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.3922, allocations: 228.4 kB / 1.216 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3924, allocations: 0.6885 MB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000128/0.3926, allocations: 52.88 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3926, allocations: 23.42 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3926, allocations: 0 / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3725/0.7651, allocations: 3.174 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.519, allocations: 10.58 kB / 1.22 GB, free: 14 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv --start-time 10 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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) Reference file matches