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.007728/0.007728, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001393/0.001393, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.234/2.234, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.793, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002147/0.7952, allocations: 1.33 MB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.9711, allocations: 147.9 MB / 1.233 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.9712, allocations: 1.25 kB / 1.233 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.9712, allocations: 3.938 kB / 1.233 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.9715, allocations: 44.27 kB / 1.233 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.9728, allocations: 354.8 kB / 1.234 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.973, allocations: 73.42 kB / 1.234 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.973, allocations: 2.375 kB / 1.234 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/0.9731, allocations: 30.86 kB / 1.234 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.9732, allocations: 52.53 kB / 1.234 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.9733, allocations: 6.391 kB / 1.234 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009034/0.9742, allocations: 406.5 kB / 1.234 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.9742, allocations: 31.48 kB / 1.234 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.9743, allocations: 29.33 kB / 1.234 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.9749, allocations: 268.6 kB / 1.234 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9749, allocations: 1.156 kB / 1.234 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9749, allocations: 0 / 1.234 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.975, allocations: 3.938 kB / 1.234 GB, free: 4.625 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.0004697/0.9754, allocations: 406.5 kB / 1.235 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.9755, allocations: 10.19 kB / 1.235 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.9755, allocations: 45.58 kB / 1.235 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.9756, allocations: 3.844 kB / 1.235 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.9757, allocations: 168.8 kB / 1.235 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.9757, allocations: 1.5 kB / 1.235 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.9757, allocations: 1.469 kB / 1.235 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.9759, allocations: 96.53 kB / 1.235 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.9759, allocations: 0 / 1.235 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.9759, allocations: 0.9062 kB / 1.235 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.976, allocations: 13.95 kB / 1.235 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.9761, allocations: 82.98 kB / 1.235 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.9766, allocations: 337.6 kB / 1.236 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.9768, allocations: 99.34 kB / 1.236 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.9768, allocations: 54.66 kB / 1.236 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008675/0.9777, allocations: 478.1 kB / 1.236 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.9778, allocations: 35.5 kB / 1.236 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.9778, allocations: 0 / 1.236 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002741/0.978, allocations: 122.1 kB / 1.236 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.9781, allocations: 53.88 kB / 1.236 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.9782, allocations: 118.6 kB / 1.236 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.9782, allocations: 25.7 kB / 1.237 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.9783, allocations: 102.5 kB / 1.237 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.9783, allocations: 40.17 kB / 1.237 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.9783, allocations: 41.95 kB / 1.237 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.9784, allocations: 313.3 kB / 1.237 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.9785, allocations: 35.81 kB / 1.237 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.9786, allocations: 70.52 kB / 1.237 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.9787, allocations: 118.5 kB / 1.237 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9788, allocations: 1.562 kB / 1.237 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002091/0.979, allocations: 136.5 kB / 1.237 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.979, allocations: 9.281 kB / 1.237 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.979, allocations: 5 kB / 1.237 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.979, allocations: 2.406 kB / 1.237 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.9791, allocations: 25.92 kB / 1.237 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.9792, allocations: 6.297 kB / 1.237 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.9792, allocations: 23.02 kB / 1.237 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.9792, allocations: 13.36 kB / 1.237 GB, free: 1.863 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 8.181e-05/0.9793, allocations: 121.6 kB / 1.238 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.9794, allocations: 11.19 kB / 1.238 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.9796, allocations: 126.2 kB / 1.238 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.9796, allocations: 1.906 kB / 1.238 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9796, allocations: 0 / 1.238 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.9796, allocations: 1.062 kB / 1.238 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.9798, allocations: 176.3 kB / 1.238 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9798, allocations: 0 / 1.238 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.9799, allocations: 18.06 kB / 1.238 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.9799, allocations: 5.25 kB / 1.238 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.9799, allocations: 5.266 kB / 1.238 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9799, allocations: 3.938 kB / 1.238 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9799, allocations: 1.719 kB / 1.238 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.9801, allocations: 202.2 kB / 1.238 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.9802, allocations: 94.72 kB / 1.238 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.9802, allocations: 9.312 kB / 1.238 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.9803, allocations: 4 kB / 1.238 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.9803, allocations: 7.609 kB / 1.238 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.9803, allocations: 3.062 kB / 1.238 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.9803, allocations: 86.91 kB / 1.238 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9804, allocations: 0 / 1.238 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000381/0.9807, allocations: 76.39 kB / 1.238 GB, free: 1.039 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.0006809/0.9814, allocations: 0.8194 MB / 1.239 GB, free: 312 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.9816, allocations: 83.58 kB / 1.239 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9816, allocations: 0 / 1.239 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.9817, allocations: 41.55 kB / 1.239 GB, free: 268 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.982, allocations: 18.58 kB / 1.239 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.9826, allocations: 245.3 kB / 1.239 GB, free: 44 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.9828, allocations: 0.6902 MB / 1.24 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.9829, allocations: 53.31 kB / 1.24 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.983, allocations: 16.94 kB / 1.24 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.983, allocations: 0 / 1.24 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/1.003, allocations: 3.208 MB / 1.243 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/8.362, allocations: 11.5 kB / 1.243 GB, free: 13.69 MB / 0.9825 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