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.001862/0.001862, allocations: 109.2 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.002444/0.002444, allocations: 219 kB / 22.26 MB, free: 5.125 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.988 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.63/2.63, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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.001995/0.001995, allocations: 66.84 kB / 1.117 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 170 MB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001905/0.3355, allocations: 0.5843 MB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.337, allocations: 1.019 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.337, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.337, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000718/0.3377, allocations: 103.8 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.206e-05/0.3378, allocations: 4 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.05e-05/0.3378, allocations: 11.92 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.3379, allocations: 4 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.3379, allocations: 7.938 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.3381, allocations: 35.77 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.3382, allocations: 0 / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.3385, allocations: 87.91 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.3385, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.3385, allocations: 4 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.3387, allocations: 72.62 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3387, allocations: 4 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3387, allocations: 0 / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3387, allocations: 4 kB / 1.285 GB, free: 9.711 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.0003664/0.3391, allocations: 259.8 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3391, allocations: 8.031 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.3392, allocations: 30.75 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.3392, allocations: 8.891 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3393, allocations: 114.5 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3393, allocations: 384 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.3393, allocations: 384 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/0.3394, allocations: 33.64 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3394, allocations: 4 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.3394, allocations: 0 / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3394, allocations: 0 / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.3394, allocations: 4 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.3399, allocations: 362.6 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.34, allocations: 181 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.34, allocations: 86 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.34, allocations: 75.28 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.3401, allocations: 105.8 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3401, allocations: 0 / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.537e-05/0.3402, allocations: 33.64 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.3402, allocations: 130.6 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3403, allocations: 105.8 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3404, allocations: 25.7 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.3404, allocations: 84.12 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.3404, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.3404, allocations: 13.72 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3406, allocations: 318.8 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.3406, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.3406, allocations: 4 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.3406, allocations: 8.922 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3406, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001002/0.3407, allocations: 41.62 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3407, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3407, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3407, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.3408, allocations: 4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3408, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.3408, allocations: 3.953 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3408, allocations: 4.031 kB / 1.287 GB, free: 7.504 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 9.567e-05/0.3409, allocations: 189 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.341, allocations: 113 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.341, allocations: 108.1 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-05/0.3411, allocations: 176.3 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.906e-05/0.3412, allocations: 184.2 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.442e-05/0.3412, allocations: 180.3 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3415, allocations: 380.3 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.24e-05/0.3416, allocations: 108.9 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.3417, allocations: 101 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.3418, allocations: 184.2 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.3418, allocations: 180.3 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.227e-05/0.3419, allocations: 184.3 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.342, allocations: 180.2 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.3422, allocations: 307.9 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3422, allocations: 113 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.3423, allocations: 176.3 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.3424, allocations: 108.9 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.3424, allocations: 180.2 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.3425, allocations: 112.9 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.3425, allocations: 83.28 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3425, allocations: 4 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002721/0.3428, allocations: 19.94 kB / 1.291 GB, free: 4.008 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 (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.0007068/0.3435, allocations: 0.8618 MB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.985e-05/0.3436, allocations: 7.938 kB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3436, allocations: 0 / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3436, allocations: 4 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.344, allocations: 451.7 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.3445, allocations: 241.8 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3448, allocations: 0.6767 MB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.3448, allocations: 3.125 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.3449, allocations: 15.38 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3449, allocations: 0 / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.3706, allocations: 1.633 MB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.09, allocations: 5.391 kB / 1.294 GB, free: 220 kB / 0.9825 GB " [Timeout remaining time 288] (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: 17.47688681299951]