Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.004616/0.004616, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001199/0.001199, allocations: 199.5 kB / 16.68 MB, free: 6.352 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 75.83 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2877, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002234/0.2899, allocations: 1.315 MB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2919, allocations: 1.347 MB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.292, allocations: 4 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.292, allocations: 0 / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.2921, allocations: 11.92 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.293, allocations: 366.8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.2931, allocations: 39.91 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.2931, allocations: 4 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.2932, allocations: 19.97 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.2932, allocations: 19.92 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2933, allocations: 4 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.2941, allocations: 0.5226 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.2941, allocations: 19.97 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2941, allocations: 11.88 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.2946, allocations: 351.1 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2946, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2946, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2947, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000507/0.2952, allocations: 414.6 kB / 1.225 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2952, allocations: 8.031 kB / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.2953, allocations: 42.73 kB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.2956, allocations: 32.86 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2957, allocations: 164.4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.2957, allocations: 4.375 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2957, allocations: 4.375 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2959, allocations: 69.66 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2959, allocations: 4 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2959, allocations: 0 / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2959, allocations: 0 / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.2961, allocations: 63.88 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.2963, allocations: 173.7 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.2964, allocations: 62.53 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.2965, allocations: 24.97 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.297, allocations: 208.9 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.297, allocations: 38.5 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.297, allocations: 4 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002492/0.2973, allocations: 101.5 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2973, allocations: 51.41 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.2974, allocations: 113.8 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2975, allocations: 25.7 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.2975, allocations: 88.12 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.2975, allocations: 15.86 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.2976, allocations: 21.72 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2977, allocations: 322.8 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.2978, allocations: 15.98 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.2978, allocations: 20.36 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.2979, allocations: 44.84 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2979, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001466/0.2981, allocations: 89.55 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2981, allocations: 4 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2981, allocations: 0 / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2981, allocations: 0 / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.2982, allocations: 19.98 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2982, allocations: 0 / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.2983, allocations: 7.891 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.2983, allocations: 4 kB / 1.226 GB, free: 7.719 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.089e-05/0.2984, allocations: 117.8 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.2984, allocations: 3.938 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.2989, allocations: 285.8 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2989, allocations: 3.938 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2989, allocations: 64 / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.299, allocations: 8 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2991, allocations: 185.6 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2991, allocations: 0 / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.2992, allocations: 19.92 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2992, allocations: 0 / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2992, allocations: 4 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2992, allocations: 3.938 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2992, allocations: 0 / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2994, allocations: 117 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.2995, allocations: 89 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2995, allocations: 0 / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.2995, allocations: 0 / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.2996, allocations: 7.984 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.2996, allocations: 4 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.2996, allocations: 91.27 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2996, allocations: 0 / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000347/0.3, allocations: 115.7 kB / 1.227 GB, free: 6.582 MB / 0.9825 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 (7): * Single equations (assignments): 7 * 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.0007994/0.3008, allocations: 0.789 MB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.301, allocations: 48.05 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.301, allocations: 0 / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.301, allocations: 35.91 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.3012, allocations: 19.98 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3026, allocations: 1.376 MB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3029, allocations: 0.6846 MB / 1.23 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003556/0.3032, allocations: 273.1 kB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.3033, allocations: 19.42 kB / 1.23 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3033, allocations: 0 / 1.23 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.3277, allocations: 4.008 MB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.733, allocations: 19.61 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches