Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001113/0.001112, 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.001138/0.001138, allocations: 192.7 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 67.89 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5348, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002361/0.5372, allocations: 1.335 MB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.6752, allocations: 147.9 MB / 1.163 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.6753, allocations: 0 / 1.163 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.6753, allocations: 0 / 1.163 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.6755, allocations: 51.84 kB / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.677, allocations: 350.5 kB / 1.164 GB, free: 12.37 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.6771, allocations: 75.7 kB / 1.164 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.6772, allocations: 0 / 1.164 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.6772, allocations: 31.92 kB / 1.164 GB, free: 12.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.6774, allocations: 59.75 kB / 1.164 GB, free: 12.21 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.6774, allocations: 4 kB / 1.164 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/0.6781, allocations: 407.1 kB / 1.164 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.6782, allocations: 27.97 kB / 1.164 GB, free: 11.78 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.6782, allocations: 35.84 kB / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.6787, allocations: 273.6 kB / 1.164 GB, free: 11.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.6787, allocations: 0 / 1.164 GB, free: 11.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6787, allocations: 0 / 1.164 GB, free: 11.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.6787, allocations: 0 / 1.164 GB, free: 11.48 MB / 0.92 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.000399/0.6791, allocations: 395.4 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6792, allocations: 8.031 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.6792, allocations: 38.73 kB / 1.165 GB, free: 10.99 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.6793, allocations: 8.781 kB / 1.165 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.6794, allocations: 176.1 kB / 1.165 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.6794, allocations: 3.938 kB / 1.165 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.6794, allocations: 4 kB / 1.165 GB, free: 10.76 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.6796, allocations: 89.59 kB / 1.165 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6796, allocations: 0 / 1.165 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6796, allocations: 4 kB / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.6796, allocations: 15.98 kB / 1.165 GB, free: 10.65 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.6798, allocations: 75.95 kB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.6803, allocations: 340.7 kB / 1.165 GB, free: 10.19 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.6806, allocations: 106.4 kB / 1.166 GB, free: 10.08 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.6807, allocations: 48.91 kB / 1.166 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.682, allocations: 469.4 kB / 1.166 GB, free: 9.477 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.682, allocations: 38.56 kB / 1.166 GB, free: 9.43 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.682, allocations: 0 / 1.166 GB, free: 9.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0003651/0.6824, allocations: 129.5 kB / 1.166 GB, free: 9.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.6825, allocations: 55.41 kB / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6826, allocations: 113.9 kB / 1.166 GB, free: 9.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.6826, allocations: 29.7 kB / 1.166 GB, free: 9.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.6827, allocations: 92.19 kB / 1.167 GB, free: 8.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.6827, allocations: 43.38 kB / 1.167 GB, free: 8.938 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.6828, allocations: 37.7 kB / 1.167 GB, free: 8.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6829, allocations: 314.8 kB / 1.167 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.261e-05/0.683, allocations: 31.97 kB / 1.167 GB, free: 8.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.6831, allocations: 70.55 kB / 1.167 GB, free: 8.461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.6834, allocations: 113.1 kB / 1.167 GB, free: 8.332 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6834, allocations: 4.188 kB / 1.167 GB, free: 8.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003324/0.6838, allocations: 141.4 kB / 1.167 GB, free: 8.184 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6838, allocations: 12.09 kB / 1.167 GB, free: 8.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6838, allocations: 8 kB / 1.167 GB, free: 8.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6838, allocations: 3.938 kB / 1.167 GB, free: 8.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6839, allocations: 27.98 kB / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.6839, allocations: 0 / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.684, allocations: 15.84 kB / 1.167 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.684, allocations: 11.98 kB / 1.167 GB, free: 8.105 MB / 0.92 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 0.000107/0.6841, allocations: 127.3 kB / 1.167 GB, free: 7.973 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.6842, allocations: 0 / 1.167 GB, free: 7.973 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.6845, allocations: 134.3 kB / 1.168 GB, free: 7.84 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6845, allocations: 7.938 kB / 1.168 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6846, allocations: 0 / 1.168 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6846, allocations: 0 / 1.168 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.6848, allocations: 177.7 kB / 1.168 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6849, allocations: 0 / 1.168 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.685, allocations: 15.94 kB / 1.168 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.685, allocations: 8 kB / 1.168 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.685, allocations: 3.984 kB / 1.168 GB, free: 7.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.685, allocations: 3.938 kB / 1.168 GB, free: 7.578 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.685, allocations: 0 / 1.168 GB, free: 7.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.6853, allocations: 203.3 kB / 1.168 GB, free: 7.363 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.6854, allocations: 89.09 kB / 1.168 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.6854, allocations: 4 kB / 1.168 GB, free: 7.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.6856, allocations: 7.938 kB / 1.168 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.6856, allocations: 15.92 kB / 1.168 GB, free: 7.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.6856, allocations: 0 / 1.168 GB, free: 7.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.6857, allocations: 91.27 kB / 1.168 GB, free: 7.141 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6857, allocations: 0 / 1.168 GB, free: 7.141 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006032/0.6863, allocations: 75.94 kB / 1.168 GB, free: 7.066 MB / 0.92 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.0008813/0.6872, allocations: 0.8099 MB / 1.169 GB, free: 6.227 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.6875, allocations: 104.1 kB / 1.169 GB, free: 6.125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6875, allocations: 0 / 1.169 GB, free: 6.125 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.6876, allocations: 39.92 kB / 1.169 GB, free: 6.086 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.688, allocations: 36.34 kB / 1.169 GB, free: 6.051 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.6888, allocations: 241.7 kB / 1.169 GB, free: 5.773 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.6891, allocations: 0.6885 MB / 1.17 GB, free: 5.059 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.6894, allocations: 52.88 kB / 1.17 GB, free: 5.008 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.6895, allocations: 19.44 kB / 1.17 GB, free: 4.988 MB / 0.92 GB Notification: Performance of SimCode: time 4.81e-07/0.6895, allocations: 0 / 1.17 GB, free: 4.988 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.714, allocations: 3.149 MB / 1.173 GB, free: 2.016 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.871, allocations: 17.58 kB / 1.173 GB, free: 2.004 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches