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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004352/0.004352, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001046/0.001046, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 75.47 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002435/0.2597, allocations: 1.328 MB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.149/0.4087, allocations: 147.9 MB / 1.233 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.4088, allocations: 0 / 1.233 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.4089, allocations: 7.922 kB / 1.233 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.4091, allocations: 43.88 kB / 1.233 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.4101, allocations: 366.5 kB / 1.234 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.4102, allocations: 67.81 kB / 1.234 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.4103, allocations: 3.938 kB / 1.234 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.4103, allocations: 39.91 kB / 1.234 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.4104, allocations: 51.88 kB / 1.234 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.4105, allocations: 4 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.4112, allocations: 411.1 kB / 1.234 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.4112, allocations: 19.97 kB / 1.234 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.4113, allocations: 31.8 kB / 1.234 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.4117, allocations: 277.4 kB / 1.234 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4117, allocations: 4 kB / 1.234 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4117, allocations: 0 / 1.234 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.4117, allocations: 0 / 1.234 GB, free: 10.89 MB / 0.9981 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.0003918/0.4121, allocations: 410.7 kB / 1.235 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4122, allocations: 8.031 kB / 1.235 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.4122, allocations: 46.67 kB / 1.235 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.4122, allocations: 8.891 kB / 1.235 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.4123, allocations: 163.4 kB / 1.235 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4124, allocations: 3.984 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.4124, allocations: 4 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4125, allocations: 101.6 kB / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4126, allocations: 0 / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4126, allocations: 4 kB / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.4126, allocations: 11.98 kB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.4127, allocations: 83.89 kB / 1.235 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.4131, allocations: 328.8 kB / 1.236 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.4133, allocations: 98.53 kB / 1.236 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.4134, allocations: 52.91 kB / 1.236 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008172/0.4142, allocations: 481.6 kB / 1.236 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4142, allocations: 38.44 kB / 1.236 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4142, allocations: 0 / 1.236 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0002506/0.4145, allocations: 125.5 kB / 1.236 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.4145, allocations: 51.41 kB / 1.236 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.4146, allocations: 117.8 kB / 1.237 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4146, allocations: 25.7 kB / 1.237 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.4147, allocations: 92.28 kB / 1.237 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.4147, allocations: 43.62 kB / 1.237 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.4148, allocations: 37.66 kB / 1.237 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4149, allocations: 318.8 kB / 1.237 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.4149, allocations: 31.97 kB / 1.237 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.415, allocations: 77.02 kB / 1.237 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4152, allocations: 117.4 kB / 1.237 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4152, allocations: 4 kB / 1.237 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001756/0.4153, allocations: 129.5 kB / 1.237 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4154, allocations: 11.94 kB / 1.237 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4154, allocations: 0 / 1.237 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4154, allocations: 4 kB / 1.237 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4155, allocations: 32.17 kB / 1.237 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4155, allocations: 4 kB / 1.237 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.4156, allocations: 20.03 kB / 1.237 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4156, allocations: 8 kB / 1.237 GB, free: 7.496 MB / 0.9981 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.356e-05/0.4157, allocations: 117.8 kB / 1.238 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.4157, allocations: 11.89 kB / 1.238 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.4159, allocations: 129.9 kB / 1.238 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4159, allocations: 0 / 1.238 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4159, allocations: 0 / 1.238 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4159, allocations: 4 kB / 1.238 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.4161, allocations: 189.5 kB / 1.238 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4161, allocations: 0 / 1.238 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.4162, allocations: 19.98 kB / 1.238 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4162, allocations: 3.938 kB / 1.238 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4162, allocations: 4 kB / 1.238 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4162, allocations: 0 / 1.238 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4162, allocations: 0 / 1.238 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.4164, allocations: 195.4 kB / 1.238 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.4164, allocations: 101 kB / 1.238 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4165, allocations: 4 kB / 1.238 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.4165, allocations: 0 / 1.238 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.4165, allocations: 7.984 kB / 1.238 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.4166, allocations: 4 kB / 1.238 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.4166, allocations: 91.27 kB / 1.238 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4166, allocations: 0 / 1.238 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003171/0.4169, allocations: 75.75 kB / 1.238 GB, free: 6.453 MB / 0.9981 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.0005965/0.4175, allocations: 0.8174 MB / 1.239 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.4177, allocations: 84.14 kB / 1.239 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4177, allocations: 4.062 kB / 1.239 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.4178, allocations: 39.86 kB / 1.239 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.418, allocations: 25.33 kB / 1.239 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.4185, allocations: 241.9 kB / 1.24 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.4188, allocations: 0.6925 MB / 1.24 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000122/0.4189, allocations: 57.19 kB / 1.24 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.4189, allocations: 19.44 kB / 1.24 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.4189, allocations: 0 / 1.24 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.4372, allocations: 3.209 MB / 1.243 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.744, allocations: 6.531 kB / 1.243 GB, free: 1.375 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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) Reference file matches