Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001878/0.001878, allocations: 110.4 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.002447/0.002447, allocations: 221.7 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.179/3.179, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001969/0.001969, allocations: 76.8 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3672, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00301/0.3702, allocations: 1.466 MB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007274/0.3775, allocations: 4.285 MB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.3776, allocations: 3.938 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.3777, allocations: 15.86 kB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.378, allocations: 27.84 kB / 1.359 GB, free: 2.625 MB / 1.045 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.004693/0.3827, allocations: 1.607 MB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3829, allocations: 107.6 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3829, allocations: 4 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.383, allocations: 43.78 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.3833, allocations: 151.6 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.3833, allocations: 20 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004878/0.3882, allocations: 2.652 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.3884, allocations: 267.8 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.3887, allocations: 282.3 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.3928, allocations: 2.161 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3928, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3929, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.3929, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 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.00944/0.4023, allocations: 1.264 MB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4024, allocations: 12.03 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.4024, allocations: 34.75 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.4028, allocations: 96.23 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.4033, allocations: 307.2 kB / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4033, allocations: 12.25 kB / 1.367 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.4033, allocations: 8.375 kB / 1.367 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.4038, allocations: 391.3 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4038, allocations: 0 / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4038, allocations: 3.984 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4038, allocations: 4 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.4043, allocations: 431.8 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.405, allocations: 0.6166 MB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.4056, allocations: 0.5516 MB / 1.369 GB, free: 7.477 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.406, allocations: 345.7 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/0.4066, allocations: 131.9 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.4071, allocations: 412.8 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.4071, allocations: 0 / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001453/0.4085, allocations: 1.285 MB / 1.371 GB, free: 5.289 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.4086, allocations: 85.09 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.41, allocations: 1.223 MB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.41, allocations: 33.69 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.4103, allocations: 261.9 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.4103, allocations: 31.77 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/0.4107, allocations: 351.6 kB / 1.373 GB, free: 3.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4108, allocations: 310 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.4122, allocations: 1.373 MB / 1.375 GB, free: 1.586 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.4137, allocations: 1.505 MB / 1.376 GB, free: 72 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007335/0.421, allocations: 3.56 MB / 1.38 GB, free: 12.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.421, allocations: 0 / 1.38 GB, free: 12.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004973/0.426, allocations: 4.015 MB / 1.384 GB, free: 8.367 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.426, allocations: 8 kB / 1.384 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4261, allocations: 0 / 1.384 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4261, allocations: 4 kB / 1.384 GB, free: 8.355 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4262, allocations: 19.92 kB / 1.384 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4262, allocations: 0 / 1.384 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.4267, allocations: 237.4 kB / 1.384 GB, free: 8.102 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.4268, allocations: 27.97 kB / 1.384 GB, free: 8.074 MB / 1.076 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.000335/0.4271, allocations: 249.6 kB / 1.384 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.4272, allocations: 71.28 kB / 1.384 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.4283, allocations: 0.9519 MB / 1.385 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.4283, allocations: 0 / 1.385 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4283, allocations: 4 kB / 1.385 GB, free: 6.781 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4284, allocations: 0 / 1.385 GB, free: 6.781 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.4288, allocations: 467.9 kB / 1.386 GB, free: 6.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4288, allocations: 11.97 kB / 1.386 GB, free: 6.273 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.4289, allocations: 7.984 kB / 1.386 GB, free: 6.266 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4289, allocations: 0 / 1.386 GB, free: 6.266 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4289, allocations: 4 kB / 1.386 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4289, allocations: 0 / 1.386 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4289, allocations: 0 / 1.386 GB, free: 6.262 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.43, allocations: 1.01 MB / 1.387 GB, free: 5.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4301, allocations: 79.28 kB / 1.387 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.4301, allocations: 4 kB / 1.387 GB, free: 5.148 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.4303, allocations: 3.984 kB / 1.387 GB, free: 5.145 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.4303, allocations: 7.984 kB / 1.387 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.4304, allocations: 15.97 kB / 1.387 GB, free: 5.121 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008517/0.4312, allocations: 0.6689 MB / 1.388 GB, free: 4.445 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4312, allocations: 4 kB / 1.388 GB, free: 4.441 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001604/0.4328, allocations: 0.5884 MB / 1.388 GB, free: 3.852 MB / 1.076 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.003684/0.4365, allocations: 2.159 MB / 1.39 GB, free: 1.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002272/0.4388, allocations: 1.997 MB / 1.392 GB, free: 15.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4388, allocations: 0 / 1.392 GB, free: 15.66 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.4391, allocations: 331.7 kB / 1.393 GB, free: 15.34 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.4395, allocations: 37.89 kB / 1.393 GB, free: 15.3 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.4566, allocations: 15.28 MB / 1.407 GB, free: 15.85 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.4573, allocations: 0.9679 MB / 1.408 GB, free: 14.86 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.4575, allocations: 44.58 kB / 1.408 GB, free: 14.81 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.4578, allocations: 263.3 kB / 1.409 GB, free: 14.55 MB / 1.107 GB Notification: Performance of SimCode: time 1.453e-06/0.4578, allocations: 0 / 1.409 GB, free: 14.55 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/0.5237, allocations: 24.19 MB / 1.432 GB, free: 6.52 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.42, allocations: 5.703 kB / 1.432 GB, free: 6.516 MB / 1.123 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.13892602897249]