Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001738/0.001738, allocations: 104 kB / 16.45 MB, free: 6.449 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.002129/0.002129, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.001944/0.001944, allocations: 67.72 kB / 1.112 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 169.9 MB / 1.278 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001884/0.3543, allocations: 0.5747 MB / 1.279 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.356, allocations: 1.023 MB / 1.28 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.356, allocations: 0 / 1.28 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.356, allocations: 0 / 1.28 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000824/0.3568, allocations: 95.77 kB / 1.28 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.971e-05/0.3569, allocations: 11.94 kB / 1.28 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.3569, allocations: 4 kB / 1.28 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.357, allocations: 4 kB / 1.28 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.357, allocations: 11.98 kB / 1.28 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.3572, allocations: 36.17 kB / 1.28 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.3572, allocations: 0 / 1.28 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.3574, allocations: 83.92 kB / 1.28 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.3574, allocations: 3.984 kB / 1.28 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.3575, allocations: 0 / 1.28 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3576, allocations: 79.73 kB / 1.28 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3576, allocations: 0 / 1.28 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3576, allocations: 0 / 1.28 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3577, allocations: 0 / 1.28 GB, free: 3.238 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003821/0.358, allocations: 331.4 kB / 1.281 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3581, allocations: 12.03 kB / 1.281 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.3581, allocations: 38.67 kB / 1.281 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.3582, allocations: 0.9375 kB / 1.281 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3583, allocations: 168.3 kB / 1.281 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3583, allocations: 4.375 kB / 1.281 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.3583, allocations: 384 / 1.281 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/0.3584, allocations: 29.64 kB / 1.281 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3584, allocations: 0 / 1.281 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3584, allocations: 4 kB / 1.281 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3584, allocations: 4 kB / 1.281 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.3584, allocations: 3.984 kB / 1.281 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.359, allocations: 468.5 kB / 1.281 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3592, allocations: 165.1 kB / 1.281 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.3593, allocations: 84.14 kB / 1.281 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.3593, allocations: 83.27 kB / 1.282 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/0.3594, allocations: 105.8 kB / 1.282 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3594, allocations: 0 / 1.282 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.368e-05/0.3594, allocations: 34.92 kB / 1.282 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.3595, allocations: 126.7 kB / 1.282 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3596, allocations: 105.8 kB / 1.282 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3596, allocations: 29.7 kB / 1.282 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.3597, allocations: 80.14 kB / 1.282 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.3597, allocations: 0 / 1.282 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3598, allocations: 13.72 kB / 1.282 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.36, allocations: 318.8 kB / 1.282 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.36, allocations: 8 kB / 1.282 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.36, allocations: 0 / 1.282 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.36, allocations: 16.86 kB / 1.282 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.36, allocations: 0 / 1.282 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.3601, allocations: 37.64 kB / 1.282 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3601, allocations: 4 kB / 1.282 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3601, allocations: 0 / 1.282 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3601, allocations: 0 / 1.282 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.695e-05/0.3602, allocations: 4 kB / 1.282 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3602, allocations: 0 / 1.282 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.3602, allocations: 3.984 kB / 1.282 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3602, allocations: 0 / 1.282 GB, free: 0.7461 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: 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.0001785/0.3604, allocations: 189.1 kB / 1.283 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.3604, allocations: 108.9 kB / 1.283 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.3605, allocations: 112 kB / 1.283 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.262e-05/0.3606, allocations: 176.3 kB / 1.283 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001108/0.3607, allocations: 188.2 kB / 1.283 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-05/0.3608, allocations: 180.3 kB / 1.283 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3611, allocations: 401.2 kB / 1.284 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.678e-05/0.3612, allocations: 112.9 kB / 1.284 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.3612, allocations: 101 kB / 1.284 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-05/0.3613, allocations: 180.2 kB / 1.284 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.272e-05/0.3614, allocations: 180.5 kB / 1.284 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-05/0.3615, allocations: 188.3 kB / 1.284 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.879e-05/0.3616, allocations: 180.2 kB / 1.285 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3617, allocations: 311.7 kB / 1.285 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.3618, allocations: 178.1 kB / 1.285 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.3619, allocations: 188.2 kB / 1.285 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.362, allocations: 108.9 kB / 1.285 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.3621, allocations: 176.3 kB / 1.285 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.3622, allocations: 104.9 kB / 1.286 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.3622, allocations: 79.28 kB / 1.286 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3622, allocations: 0 / 1.286 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002666/0.3625, allocations: 27.86 kB / 1.286 GB, free: 13.12 MB / 0.9981 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.0007846/0.3633, allocations: 0.8788 MB / 1.287 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/0.3633, allocations: 11.94 kB / 1.287 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3633, allocations: 0 / 1.287 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3633, allocations: 0 / 1.287 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3638, allocations: 459.7 kB / 1.287 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.3644, allocations: 237.9 kB / 1.287 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3647, allocations: 0.6766 MB / 1.288 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.3648, allocations: 0 / 1.288 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.3648, allocations: 15.42 kB / 1.288 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.3648, allocations: 0 / 1.288 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.3905, allocations: 1.577 MB / 1.289 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.638, allocations: 9.891 kB / 1.289 GB, free: 9.391 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.17285422119312]