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.001912/0.001912, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002501/0.002501, allocations: 216 kB / 22.25 MB, free: 5.117 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.031 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.102/3.102, allocations: 0.49 GB / 0.7951 GB, free: 33.27 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.001938/0.001938, allocations: 70.11 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3303, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001756/0.3321, allocations: 0.5848 MB / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3334, allocations: 1.027 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.3334, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.3334, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.3341, allocations: 95.78 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.698e-05/0.3341, allocations: 11.92 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.6e-05/0.3342, allocations: 4 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.3342, allocations: 4 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.3342, allocations: 11.92 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.3345, allocations: 32.2 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3345, allocations: 3.984 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3346, allocations: 87.84 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.3346, allocations: 7.922 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.3347, allocations: 4 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3348, allocations: 71.8 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3348, allocations: 0 / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3348, allocations: 4 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3348, allocations: 0 / 1.328 GB, free: 12 kB / 1.014 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.0003319/0.3352, allocations: 258.3 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3352, allocations: 8.031 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.3352, allocations: 30.75 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3353, allocations: 8.891 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3354, allocations: 110.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3354, allocations: 4.375 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.3354, allocations: 8.359 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.453e-05/0.3355, allocations: 29.64 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3355, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.3355, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3355, allocations: 7.922 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.3355, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.3359, allocations: 362.6 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.336, allocations: 165.1 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.336, allocations: 84.14 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.3361, allocations: 75.28 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.3361, allocations: 109.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 3.116e-06/0.3361, allocations: 4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.4e-05/0.3362, allocations: 29.7 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.3363, allocations: 130.6 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3364, allocations: 101.8 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3364, allocations: 25.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.3364, allocations: 80.14 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.3364, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.3365, allocations: 9.719 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3366, allocations: 322.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.3366, allocations: 8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.3366, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.3366, allocations: 8.797 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3366, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.849e-05/0.3367, allocations: 29.7 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3367, allocations: 4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3368, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3368, allocations: 4.094 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-05/0.3368, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3368, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.3368, allocations: 7.891 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3368, allocations: 3.984 kB / 1.33 GB, free: 13.81 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.0001032/0.3369, allocations: 185.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.337, allocations: 112.9 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.337, allocations: 108.1 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-05/0.3371, allocations: 184.2 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.322e-05/0.3372, allocations: 184.2 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.22e-05/0.3373, allocations: 176.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3375, allocations: 376.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.149e-05/0.3375, allocations: 109 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.3376, allocations: 108.9 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.165e-05/0.3376, allocations: 176.3 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.3377, allocations: 176.5 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.976e-05/0.3378, allocations: 188.2 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.537e-05/0.3379, allocations: 180.3 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.338, allocations: 311.7 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.3381, allocations: 109 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.3382, allocations: 184.2 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.3382, allocations: 105 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.3383, allocations: 188.1 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.3384, allocations: 105 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.3384, allocations: 83.47 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3384, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002642/0.3387, allocations: 27.86 kB / 1.333 GB, free: 10.3 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.0007154/0.3394, allocations: 0.8625 MB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.322e-05/0.3395, allocations: 4 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3395, allocations: 0 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.3395, allocations: 0 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3398, allocations: 461.1 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.3404, allocations: 253.7 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3407, allocations: 0.6727 MB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.3407, allocations: 0 / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3407, allocations: 11.44 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3407, allocations: 4 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.3677, allocations: 1.634 MB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.06, allocations: 12.38 kB / 1.337 GB, free: 6.496 MB / 1.029 GB " [Timeout remaining time 289] (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.705134101001022]