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.001339/0.001339, allocations: 108 kB / 15.6 MB, free: 132 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.001558/0.001558, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.308/2.308, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.14 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5198, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002017/0.5219, allocations: 1.322 MB / 0.951 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.6642, allocations: 147.9 MB / 1.095 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.6643, allocations: 0 / 1.095 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.6644, allocations: 3.938 kB / 1.095 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.6645, allocations: 39.86 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.6656, allocations: 362.6 kB / 1.096 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.6658, allocations: 67.77 kB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.6658, allocations: 0 / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.6659, allocations: 35.91 kB / 1.096 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.666, allocations: 51.88 kB / 1.096 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.666, allocations: 4 kB / 1.096 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008031/0.6668, allocations: 403.1 kB / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.6669, allocations: 31.89 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.6669, allocations: 27.88 kB / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.6675, allocations: 277.6 kB / 1.097 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6675, allocations: 4 kB / 1.097 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6675, allocations: 0 / 1.097 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.6675, allocations: 0 / 1.097 GB, free: 10.8 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.0004038/0.6679, allocations: 399.3 kB / 1.097 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6679, allocations: 8.031 kB / 1.097 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.668, allocations: 38.73 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.668, allocations: 4.844 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.6681, allocations: 171.5 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6681, allocations: 8 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.6682, allocations: 4 kB / 1.097 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.6683, allocations: 95.27 kB / 1.097 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6684, allocations: 0 / 1.097 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6684, allocations: 7.984 kB / 1.097 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.6684, allocations: 11.98 kB / 1.097 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.6685, allocations: 79.95 kB / 1.097 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.669, allocations: 332.7 kB / 1.098 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.6691, allocations: 110.5 kB / 1.098 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.6692, allocations: 52.83 kB / 1.098 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.6701, allocations: 469.4 kB / 1.098 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.6701, allocations: 34.56 kB / 1.098 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.6701, allocations: 0 / 1.098 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000255/0.6704, allocations: 133.8 kB / 1.099 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.6704, allocations: 55.41 kB / 1.099 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.6705, allocations: 113.9 kB / 1.099 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.6705, allocations: 25.7 kB / 1.099 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.6706, allocations: 96.19 kB / 1.099 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.6706, allocations: 39.39 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.6707, allocations: 33.7 kB / 1.099 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.6708, allocations: 318.8 kB / 1.099 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.6708, allocations: 35.91 kB / 1.099 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.6709, allocations: 69.14 kB / 1.099 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.671, allocations: 121 kB / 1.099 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.671, allocations: 0 / 1.099 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001982/0.6712, allocations: 141.4 kB / 1.1 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6713, allocations: 7.938 kB / 1.1 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6713, allocations: 4 kB / 1.1 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6713, allocations: 8.141 kB / 1.1 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.6714, allocations: 24 kB / 1.1 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6714, allocations: 7.922 kB / 1.1 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.6715, allocations: 11.84 kB / 1.1 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.6715, allocations: 8 kB / 1.1 GB, free: 7.422 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.35e-05/0.6716, allocations: 121.8 kB / 1.1 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.6716, allocations: 7.938 kB / 1.1 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.6718, allocations: 130.2 kB / 1.1 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6718, allocations: 4 kB / 1.1 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6719, allocations: 4 kB / 1.1 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6719, allocations: 3.938 kB / 1.1 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.672, allocations: 181.6 kB / 1.1 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.672, allocations: 0 / 1.1 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.6721, allocations: 19.98 kB / 1.1 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6721, allocations: 7.938 kB / 1.1 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.6721, allocations: 0 / 1.1 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6721, allocations: 4 kB / 1.1 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6722, allocations: 0 / 1.1 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.6723, allocations: 199.3 kB / 1.1 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.6724, allocations: 89.09 kB / 1.1 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.6724, allocations: 7.938 kB / 1.1 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.6725, allocations: 0 / 1.1 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.6725, allocations: 11.98 kB / 1.1 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.6725, allocations: 0 / 1.1 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.6726, allocations: 91.27 kB / 1.1 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6726, allocations: 3.938 kB / 1.1 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003482/0.6729, allocations: 79.94 kB / 1.101 GB, free: 6.375 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.0006127/0.6735, allocations: 0.8098 MB / 1.101 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.6737, allocations: 91.83 kB / 1.101 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6737, allocations: 4 kB / 1.101 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.6738, allocations: 39.92 kB / 1.101 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.6741, allocations: 19.92 kB / 1.102 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.6746, allocations: 242.2 kB / 1.102 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.6748, allocations: 0.6885 MB / 1.102 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.675, allocations: 56.38 kB / 1.102 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.675, allocations: 23.42 kB / 1.102 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.675, allocations: 0 / 1.102 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.6939, allocations: 3.173 MB / 1.106 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.963, allocations: 14.59 kB / 1.106 GB, free: 1.316 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 & 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