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.0008661/0.0008661, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000828/0.000828, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8518/0.8518, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.662/1.662, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.981 GB, free: 2.473 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.228e-05, allocations: 2.281 kB / 0.981 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001593/0.001606, allocations: 1.446 MB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.005615, allocations: 3.86 MB / 0.9862 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.005656, allocations: 0 / 0.9862 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.005757, allocations: 11.86 kB / 0.9862 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.005953, allocations: 35.77 kB / 0.9863 GB, free: 13.09 MB / 0.948 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.002191/0.008144, allocations: 1.606 MB / 0.9878 GB, free: 11.48 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.471e-05/0.008239, allocations: 95.67 kB / 0.9879 GB, free: 11.39 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.008273, allocations: 4 kB / 0.9879 GB, free: 11.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.902e-05/0.008342, allocations: 59.86 kB / 0.988 GB, free: 11.33 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.008495, allocations: 147.7 kB / 0.9881 GB, free: 11.18 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.008519, allocations: 16 kB / 0.9881 GB, free: 11.17 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.01047, allocations: 2.398 MB / 0.9905 GB, free: 8.766 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.01061, allocations: 279.8 kB / 0.9908 GB, free: 8.492 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.663e-05/0.01071, allocations: 148 kB / 0.9909 GB, free: 8.348 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.01241, allocations: 2.455 MB / 0.9933 GB, free: 5.887 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01242, allocations: 0 / 0.9933 GB, free: 5.887 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01242, allocations: 4 kB / 0.9933 GB, free: 5.883 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.01242, allocations: 0 / 0.9933 GB, free: 5.883 MB / 0.948 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.00398/0.0164, allocations: 1.268 MB / 0.9945 GB, free: 4.578 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.01644, allocations: 16.02 kB / 0.9946 GB, free: 4.562 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.01647, allocations: 34.75 kB / 0.9946 GB, free: 4.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.01668, allocations: 88.25 kB / 0.9947 GB, free: 4.434 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.01694, allocations: 314.4 kB / 0.995 GB, free: 4.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.01695, allocations: 4.375 kB / 0.995 GB, free: 4.086 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.01697, allocations: 4.375 kB / 0.995 GB, free: 4.082 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.01733, allocations: 399.7 kB / 0.9954 GB, free: 3.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.01734, allocations: 192 / 0.9954 GB, free: 3.68 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.01735, allocations: 4.125 kB / 0.9954 GB, free: 3.676 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.01735, allocations: 4 kB / 0.9954 GB, free: 3.672 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.01762, allocations: 431.7 kB / 0.9958 GB, free: 3.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.01797, allocations: 0.5894 MB / 0.9964 GB, free: 2.617 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.0183, allocations: 0.5632 MB / 0.9969 GB, free: 2.035 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.01849, allocations: 341.6 kB / 0.9972 GB, free: 1.695 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.01885, allocations: 135.9 kB / 0.9974 GB, free: 1.562 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.0191, allocations: 404.8 kB / 0.9977 GB, free: 1.148 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.0191, allocations: 0 / 0.9977 GB, free: 1.148 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.000876/0.01998, allocations: 1.301 MB / 0.999 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.02002, allocations: 85.02 kB / 0.9991 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007246/0.02074, allocations: 1.215 MB / 1 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.02076, allocations: 25.7 kB / 1 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02089, allocations: 265.9 kB / 1.001 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.02092, allocations: 27.78 kB / 1.001 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.02113, allocations: 339.6 kB / 1.001 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.0212, allocations: 310 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008364/0.02204, allocations: 1.373 MB / 1.003 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008538/0.02289, allocations: 1.505 MB / 1.004 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/0.02727, allocations: 3.56 MB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02727, allocations: 0 / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002927/0.03019, allocations: 4.007 MB / 1.011 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.03021, allocations: 4 kB / 1.011 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.03022, allocations: 8.016 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.03024, allocations: 0 / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.03032, allocations: 15.98 kB / 1.011 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.03032, allocations: 7.984 kB / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.03058, allocations: 245.3 kB / 1.012 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.03061, allocations: 23.98 kB / 1.012 GB, free: 2.652 MB / 0.9636 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.0002156/0.03082, allocations: 249.6 kB / 1.012 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.03086, allocations: 71.3 kB / 1.012 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007061/0.03157, allocations: 0.94 MB / 1.013 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.03157, allocations: 3.938 kB / 1.013 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.03158, allocations: 0 / 1.013 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.03159, allocations: 3.984 kB / 1.013 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.03189, allocations: 472 kB / 1.013 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.03189, allocations: 3.938 kB / 1.013 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.03193, allocations: 12.02 kB / 1.013 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.03193, allocations: 4 kB / 1.013 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.03194, allocations: 3.938 kB / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.03194, allocations: 0 / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.03195, allocations: 7.984 kB / 1.013 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.03253, allocations: 0.9941 MB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.03258, allocations: 87.3 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.03261, allocations: 3.938 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.03268, allocations: 11.98 kB / 1.014 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.03277, allocations: 11.92 kB / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.03282, allocations: 11.98 kB / 1.015 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000457/0.03327, allocations: 0.6728 MB / 1.015 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03327, allocations: 0 / 1.015 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001069/0.03434, allocations: 0.5845 MB / 1.016 GB, free: 14.43 MB / 0.9792 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.001942/0.03628, allocations: 2.242 MB / 1.018 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.03748, allocations: 2.001 MB / 1.02 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.03748, allocations: 0 / 1.02 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.03768, allocations: 336 kB / 1.02 GB, free: 9.836 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.03788, allocations: 41.91 kB / 1.02 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/0.04782, allocations: 15.43 MB / 1.035 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.04803, allocations: 376.1 kB / 1.036 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.773e-05/0.0481, allocations: 32.47 kB / 1.036 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.04833, allocations: 272.4 kB / 1.036 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of SimCode: time 1.183e-06/0.04833, allocations: 0 / 1.036 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4113/0.4596, allocations: 25.34 MB / 1.061 GB, free: 93.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.604, allocations: 3.828 kB / 1.061 GB, free: 93.66 MB / 0.9948 GB " [Timeout remaining time 291] (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/jenkins/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: 13.020783043466508]