Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001285/0.001285, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001487/0.001487, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.156/3.156, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001945/0.001945, allocations: 75.59 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3725, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002007/0.3745, allocations: 0.5793 MB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.376, allocations: 1.038 MB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.376, allocations: 0 / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.376, allocations: 7.938 kB / 1.355 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007263/0.3767, allocations: 95.78 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.719e-05/0.3768, allocations: 11.98 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.3768, allocations: 7.984 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.3769, allocations: 3.938 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.3769, allocations: 4 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.3771, allocations: 40.12 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.3771, allocations: 0 / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.3773, allocations: 87.89 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.3773, allocations: 4 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.3773, allocations: 0 / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3775, allocations: 71.8 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3775, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3775, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3775, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 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.0003411/0.3778, allocations: 266.2 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3779, allocations: 8.031 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.3779, allocations: 30.75 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.3779, allocations: 0.9375 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3781, allocations: 114.5 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3781, allocations: 384 / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3781, allocations: 4.312 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.3782, allocations: 33.64 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3782, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.3782, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3782, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.3782, allocations: 3.984 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.3786, allocations: 362.5 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3787, allocations: 169.1 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.3788, allocations: 88.17 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.3788, allocations: 75.28 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.3788, allocations: 109.8 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3789, allocations: 0 / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.091e-05/0.3789, allocations: 25.7 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.379, allocations: 134.6 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3791, allocations: 105.8 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3791, allocations: 25.7 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.3792, allocations: 84.09 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3792, allocations: 0 / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.3792, allocations: 17.72 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3793, allocations: 318.8 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.3794, allocations: 4 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.3794, allocations: 3.938 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.3794, allocations: 8.859 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3794, allocations: 0 / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000103/0.3795, allocations: 33.7 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3795, allocations: 4.094 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3795, allocations: 7.938 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3795, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.376e-05/0.3795, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3795, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.3796, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3796, allocations: 8 kB / 1.357 GB, free: 4.262 MB / 1.045 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.0001105/0.3797, allocations: 189 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3797, allocations: 105 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.3798, allocations: 116.1 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.482e-05/0.3799, allocations: 180.3 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-05/0.38, allocations: 180.2 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.782e-05/0.3801, allocations: 180.8 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.3803, allocations: 376.2 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/0.3804, allocations: 112.9 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.3804, allocations: 101 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.953e-05/0.3805, allocations: 180.3 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.3806, allocations: 180.4 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.34e-05/0.3807, allocations: 184.3 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.592e-05/0.3807, allocations: 184.2 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3809, allocations: 303.8 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.381, allocations: 113.1 kB / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.381, allocations: 176.3 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.3811, allocations: 108.9 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3812, allocations: 188.2 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.3813, allocations: 105 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.3813, allocations: 87.22 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3813, allocations: 0 / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002821/0.3816, allocations: 27.86 kB / 1.36 GB, free: 0.7578 MB / 1.045 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.0007539/0.3824, allocations: 0.8607 MB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.3824, allocations: 4 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.3824, allocations: 0 / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-06/0.3824, allocations: 3.938 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.3829, allocations: 457.5 kB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.3834, allocations: 247.2 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3837, allocations: 0.6727 MB / 1.362 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.3838, allocations: 4 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3838, allocations: 11.44 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3838, allocations: 0 / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.4127, allocations: 1.634 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.02, allocations: 8.719 kB / 1.364 GB, free: 12.96 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.755955575999906]