Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 95.77 kB / 18.94 MB, free: 2.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 220.3 kB / 22.25 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.079/3.079, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 62 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.373, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001935/0.375, allocations: 0.5891 MB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3764, allocations: 1.007 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.3764, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.3764, allocations: 4 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008085/0.3772, allocations: 95.77 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.775e-05/0.3773, allocations: 7.938 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.701e-05/0.3773, allocations: 3.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.3774, allocations: 15.98 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.3774, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.3776, allocations: 44.12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.3776, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.3778, allocations: 79.91 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.3778, allocations: 4 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.3778, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.378, allocations: 71.78 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.378, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.378, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.378, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003651/0.3784, allocations: 262.2 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.3785, allocations: 12.03 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.3785, allocations: 30.75 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.3785, allocations: 4.891 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3787, allocations: 102.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3787, allocations: 4.375 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3787, allocations: 384 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/0.3788, allocations: 37.56 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3788, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.3788, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3788, allocations: 8 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.3788, allocations: 11.92 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.3793, allocations: 358.6 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.3794, allocations: 169.1 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.3795, allocations: 80.14 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3795, allocations: 75.28 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.3795, allocations: 109.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3795, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.994e-05/0.3796, allocations: 33.7 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.3797, allocations: 130.7 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3798, allocations: 97.86 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3798, allocations: 25.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.3799, allocations: 88.14 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.3799, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3799, allocations: 9.719 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3801, allocations: 322.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.3801, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.3801, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.3801, allocations: 12.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3801, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001076/0.3802, allocations: 41.72 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3802, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3802, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3803, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.804e-05/0.3803, allocations: 3.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3803, allocations: 3.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.3803, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3803, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001112/0.3804, allocations: 189.6 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.3805, allocations: 104.9 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.3806, allocations: 112.2 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/0.3806, allocations: 180.3 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.381e-05/0.3807, allocations: 188.2 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.323e-05/0.3808, allocations: 180.3 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.381, allocations: 376.2 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.845e-05/0.3811, allocations: 109 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.3811, allocations: 104.9 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.134e-05/0.3812, allocations: 176.3 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-05/0.3813, allocations: 180.5 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-05/0.3814, allocations: 188.2 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.177e-05/0.3815, allocations: 180.3 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3816, allocations: 315.7 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.3817, allocations: 101 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.3818, allocations: 184.2 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.382, allocations: 105 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.3821, allocations: 184.2 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.3822, allocations: 109 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.3822, allocations: 75.28 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3822, allocations: 4 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002692/0.3825, allocations: 23.86 kB / 1.333 GB, free: 9.867 MB / 1.029 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 (0): * Single equations (assignments): 0 * 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.0008405/0.3833, allocations: 0.8736 MB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.306e-05/0.3834, allocations: 4 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3834, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.3834, allocations: 4 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3838, allocations: 451.7 kB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.3844, allocations: 257.7 kB / 1.334 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.323e-05/0.3845, allocations: 59.22 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.3845, allocations: 4 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3845, allocations: 11.42 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3845, allocations: 0 / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.4136, allocations: 2.063 MB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.41, allocations: 6.25 kB / 1.337 GB, free: 6.238 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.981743101001484]