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.005001/0.005002, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001162/0.001162, allocations: 191.6 kB / 16.67 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.411/2.411, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2869, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002592/0.2895, allocations: 1.329 MB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7191/1.009, allocations: 147.9 MB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/1.009, allocations: 4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/1.009, allocations: 5.156 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000184/1.009, allocations: 47.55 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/1.01, allocations: 356.1 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/1.01, allocations: 71.95 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/1.01, allocations: 3.641 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/1.01, allocations: 34.23 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/1.01, allocations: 55.83 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/1.01, allocations: 1.469 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008646/1.011, allocations: 413.5 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/1.011, allocations: 27.06 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/1.011, allocations: 27.02 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/1.012, allocations: 272.3 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/1.012, allocations: 0.6562 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.012, allocations: 5.094 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.56e-06/1.012, allocations: 0 / 1.313 GB, free: 12.25 MB / 1.014 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.0004365/1.012, allocations: 407.8 kB / 1.314 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/1.012, allocations: 10.88 kB / 1.314 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/1.013, allocations: 39.03 kB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/1.013, allocations: 3.344 kB / 1.314 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/1.013, allocations: 165.8 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.013, allocations: 10.91 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/1.013, allocations: 3.875 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/1.013, allocations: 93.5 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/1.013, allocations: 0.9375 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/1.013, allocations: 0.9375 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/1.013, allocations: 11.38 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/1.013, allocations: 77.27 kB / 1.314 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/1.014, allocations: 349.7 kB / 1.314 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/1.014, allocations: 98.61 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/1.014, allocations: 57.41 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/1.015, allocations: 469.9 kB / 1.315 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/1.015, allocations: 31.66 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/1.015, allocations: 0 / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002594/1.015, allocations: 126.8 kB / 1.315 GB, free: 10.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.015, allocations: 57.14 kB / 1.315 GB, free: 10.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/1.015, allocations: 120.9 kB / 1.315 GB, free: 10.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/1.015, allocations: 26.83 kB / 1.315 GB, free: 10.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/1.015, allocations: 100.5 kB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/1.015, allocations: 35.17 kB / 1.315 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/1.015, allocations: 38.62 kB / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.015, allocations: 315.4 kB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/1.015, allocations: 35.33 kB / 1.316 GB, free: 10.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/1.016, allocations: 69.12 kB / 1.316 GB, free: 10.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/1.016, allocations: 122.9 kB / 1.316 GB, free: 9.945 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.016, allocations: 1.125 kB / 1.316 GB, free: 9.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001982/1.016, allocations: 138.2 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.016, allocations: 6.062 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1.016, allocations: 2.453 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.016, allocations: 2.219 kB / 1.316 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.016, allocations: 33.97 kB / 1.316 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.016, allocations: 10.83 kB / 1.316 GB, free: 9.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/1.016, allocations: 7.234 kB / 1.316 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/1.016, allocations: 5.25 kB / 1.316 GB, free: 9.883 MB / 1.014 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.362e-05/1.016, allocations: 126 kB / 1.316 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/1.016, allocations: 7.938 kB / 1.316 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/1.016, allocations: 122 kB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.016, allocations: 9.031 kB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.016, allocations: 0 / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.016, allocations: 3.984 kB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/1.017, allocations: 180 kB / 1.317 GB, free: 9.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.017, allocations: 3.938 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/1.017, allocations: 17.16 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.017, allocations: 0.7812 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/1.017, allocations: 1.797 kB / 1.317 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.017, allocations: 5.031 kB / 1.317 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.017, allocations: 1.156 kB / 1.317 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/1.017, allocations: 208.3 kB / 1.317 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/1.017, allocations: 103.6 kB / 1.317 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/1.017, allocations: 1.156 kB / 1.317 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/1.017, allocations: 7.188 kB / 1.317 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/1.017, allocations: 6.219 kB / 1.317 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/1.017, allocations: 3.312 kB / 1.317 GB, free: 9.254 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.338e-05/1.017, allocations: 90.52 kB / 1.317 GB, free: 9.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.017, allocations: 0 / 1.317 GB, free: 9.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003655/1.018, allocations: 81.77 kB / 1.317 GB, free: 9.16 MB / 1.014 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.0006547/1.018, allocations: 0.8168 MB / 1.318 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000178/1.018, allocations: 79.45 kB / 1.318 GB, free: 8.473 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.018, allocations: 0.9688 kB / 1.318 GB, free: 8.473 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/1.018, allocations: 40.86 kB / 1.318 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/1.019, allocations: 20.08 kB / 1.318 GB, free: 8.461 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/1.019, allocations: 234.9 kB / 1.318 GB, free: 8.289 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/1.02, allocations: 0.6929 MB / 1.319 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001156/1.02, allocations: 50.61 kB / 1.319 GB, free: 7.586 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/1.02, allocations: 26.61 kB / 1.319 GB, free: 7.574 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.02, allocations: 0 / 1.319 GB, free: 7.574 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/1.039, allocations: 3.213 MB / 1.322 GB, free: 7.094 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/8.408, allocations: 12.12 kB / 1.322 GB, free: 7.086 MB / 1.014 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