Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001608/0.001608, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00208/0.00208, allocations: 222.3 kB / 22.25 MB, free: 5.102 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.801 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.217/3.217, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] 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.GFunction_1borehole_5meters,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001955/0.001955, allocations: 64.16 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002595/0.357, allocations: 1.45 MB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006195/0.3632, allocations: 3.861 MB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.3633, allocations: 3.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3634, allocations: 11.86 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.3636, allocations: 39.83 kB / 1.331 GB, free: 12.07 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.3675, allocations: 1.609 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3676, allocations: 91.73 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.3676, allocations: 8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.3677, allocations: 51.77 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.3679, allocations: 147.6 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.368, allocations: 16 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.3715, allocations: 2.547 MB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.3718, allocations: 267.8 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.372, allocations: 222.8 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.3747, allocations: 2.154 MB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3748, allocations: 0 / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3748, allocations: 4 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3748, allocations: 0 / 1.338 GB, free: 4.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009417/0.3842, allocations: 1.264 MB / 1.339 GB, free: 3.648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3842, allocations: 8.031 kB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.3843, allocations: 34.73 kB / 1.339 GB, free: 3.598 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.3846, allocations: 100.2 kB / 1.339 GB, free: 3.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.385, allocations: 307.1 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3851, allocations: 4.375 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.3851, allocations: 4.375 kB / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.3855, allocations: 395.3 kB / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3856, allocations: 0 / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3856, allocations: 0 / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3856, allocations: 4 kB / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.386, allocations: 447.6 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.3866, allocations: 0.5932 MB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.3871, allocations: 0.5594 MB / 1.342 GB, free: 1.102 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.3874, allocations: 337.7 kB / 1.342 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.3881, allocations: 135.8 kB / 1.342 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.3885, allocations: 404.8 kB / 1.343 GB, free: 224 kB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3885, allocations: 0 / 1.343 GB, free: 224 kB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001383/0.3899, allocations: 1.286 MB / 1.344 GB, free: 14.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.3899, allocations: 89.12 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.3911, allocations: 1.215 MB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.3912, allocations: 37.67 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.3914, allocations: 265.9 kB / 1.345 GB, free: 13.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.3914, allocations: 19.83 kB / 1.345 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.3917, allocations: 351.6 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3918, allocations: 313.9 kB / 1.346 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.3931, allocations: 1.369 MB / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.3945, allocations: 1.515 MB / 1.349 GB, free: 9.707 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/0.4016, allocations: 3.557 MB / 1.352 GB, free: 6.059 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4016, allocations: 0 / 1.352 GB, free: 6.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004409/0.406, allocations: 4.011 MB / 1.356 GB, free: 2.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.406, allocations: 4 kB / 1.356 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.406, allocations: 4 kB / 1.356 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.406, allocations: 4.031 kB / 1.356 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4062, allocations: 15.98 kB / 1.356 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4062, allocations: 0 / 1.356 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.4067, allocations: 245.3 kB / 1.356 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.4067, allocations: 23.98 kB / 1.356 GB, free: 1.719 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003032/0.407, allocations: 245.3 kB / 1.357 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.4071, allocations: 75.28 kB / 1.357 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4081, allocations: 0.9438 MB / 1.358 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4081, allocations: 4 kB / 1.358 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4081, allocations: 4 kB / 1.358 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4081, allocations: 0 / 1.358 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.4086, allocations: 468 kB / 1.358 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4086, allocations: 3.938 kB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.4086, allocations: 7.984 kB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4086, allocations: 0 / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4087, allocations: 7.938 kB / 1.358 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4087, allocations: 4.031 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4087, allocations: 0 / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.4096, allocations: 1.01 MB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.4097, allocations: 83.28 kB / 1.359 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.4097, allocations: 0 / 1.359 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4099, allocations: 7.984 kB / 1.359 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.4099, allocations: 11.97 kB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.4099, allocations: 19.92 kB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007292/0.4107, allocations: 0.6689 MB / 1.36 GB, free: 14.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4107, allocations: 4 kB / 1.36 GB, free: 14.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001453/0.4121, allocations: 0.5845 MB / 1.361 GB, free: 13.5 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00301/0.4151, allocations: 2.154 MB / 1.363 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.4175, allocations: 2.001 MB / 1.365 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4175, allocations: 0 / 1.365 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.4179, allocations: 335.8 kB / 1.365 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4182, allocations: 36.59 kB / 1.365 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.4337, allocations: 15.29 MB / 1.38 GB, free: 9.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.434, allocations: 376.1 kB / 1.38 GB, free: 9.086 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.4342, allocations: 32.47 kB / 1.38 GB, free: 9.051 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.4345, allocations: 267.3 kB / 1.381 GB, free: 8.789 MB / 1.076 GB Notification: Performance of SimCode: time 1.113e-06/0.4345, allocations: 0 / 1.381 GB, free: 8.789 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/0.4931, allocations: 25.21 MB / 1.405 GB, free: 15.81 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.25, allocations: 11.98 kB / 1.405 GB, free: 15.8 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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: 19.613815640012035]