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.00198/0.00198, 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.002702/0.002702, allocations: 216.5 kB / 22.25 MB, free: 5.129 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.961 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.274/3.274, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [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.002158/0.002158, allocations: 67.31 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002941/0.3993, allocations: 1.477 MB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007326/0.4066, allocations: 4.296 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.4067, allocations: 3.938 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.4068, allocations: 11.86 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.4071, allocations: 35.84 kB / 1.332 GB, free: 11.68 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.004942/0.412, allocations: 1.613 MB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.4122, allocations: 91.72 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.4123, allocations: 4 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.4124, allocations: 55.77 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.4127, allocations: 155.6 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.4127, allocations: 12 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00566/0.4184, allocations: 2.656 MB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.4187, allocations: 267.8 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.419, allocations: 274.3 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.4235, allocations: 2.169 MB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/0.4235, allocations: 0 / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4235, allocations: 0 / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.4235, allocations: 0 / 1.339 GB, free: 4.387 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.009461/0.4329, allocations: 1.264 MB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.433, allocations: 16.02 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.4335, allocations: 92.25 kB / 1.341 GB, free: 2.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.434, allocations: 311.1 kB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.434, allocations: 8.359 kB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.4341, allocations: 8.375 kB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.4346, allocations: 387.5 kB / 1.341 GB, free: 2.234 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4346, allocations: 4 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4346, allocations: 0 / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4346, allocations: 0 / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.4351, allocations: 443.6 kB / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.4358, allocations: 0.6166 MB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.4364, allocations: 0.5555 MB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.4368, allocations: 341.7 kB / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007254/0.4375, allocations: 139.8 kB / 1.343 GB, free: 88 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.4379, allocations: 404.8 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.4379, allocations: 0 / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001487/0.4394, allocations: 1.297 MB / 1.345 GB, free: 14.37 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.4395, allocations: 81.11 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4408, allocations: 1.211 MB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4409, allocations: 33.7 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.4411, allocations: 265.9 kB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.4412, allocations: 23.83 kB / 1.346 GB, free: 12.71 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.4415, allocations: 359.5 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4417, allocations: 310 kB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.443, allocations: 1.369 MB / 1.348 GB, free: 10.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.4445, allocations: 1.513 MB / 1.35 GB, free: 9.156 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007468/0.452, allocations: 3.553 MB / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.452, allocations: 0 / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004768/0.4568, allocations: 4.015 MB / 1.357 GB, free: 1.461 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4568, allocations: 8 kB / 1.357 GB, free: 1.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.4568, allocations: 7.938 kB / 1.357 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4568, allocations: 0 / 1.357 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.457, allocations: 19.98 kB / 1.357 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.457, allocations: 4 kB / 1.357 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.4575, allocations: 237.3 kB / 1.358 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.4576, allocations: 27.98 kB / 1.358 GB, free: 1.16 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.0003568/0.4579, allocations: 242.1 kB / 1.358 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.458, allocations: 75.28 kB / 1.358 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.4591, allocations: 0.9402 MB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4591, allocations: 0 / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4591, allocations: 0 / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4591, allocations: 4 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.4597, allocations: 471.9 kB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4597, allocations: 4.031 kB / 1.359 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.4598, allocations: 19.92 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4598, allocations: 0 / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4598, allocations: 3.938 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4598, allocations: 4.078 kB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4598, allocations: 3.984 kB / 1.359 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4609, allocations: 1.002 MB / 1.36 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.4609, allocations: 83.28 kB / 1.36 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.461, allocations: 0 / 1.36 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.4611, allocations: 11.98 kB / 1.36 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.4612, allocations: 7.984 kB / 1.36 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.4612, allocations: 11.98 kB / 1.36 GB, free: 14.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000871/0.4621, allocations: 0.6689 MB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4621, allocations: 4 kB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001859/0.464, allocations: 0.5884 MB / 1.362 GB, free: 12.95 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.002076/0.466, allocations: 0.7041 MB / 1.362 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002621/0.4686, allocations: 1.997 MB / 1.364 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4687, allocations: 0 / 1.364 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.469, allocations: 343.8 kB / 1.365 GB, free: 9.902 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.4694, allocations: 40.53 kB / 1.365 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.4721, allocations: 1.762 MB / 1.366 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.4728, allocations: 0.964 MB / 1.367 GB, free: 7.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.4729, allocations: 36.47 kB / 1.367 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.473, allocations: 27.42 kB / 1.367 GB, free: 7 MB / 1.061 GB Notification: Performance of SimCode: time 5.82e-07/0.473, allocations: 0 / 1.367 GB, free: 7 MB / 1.061 GB Notification: Performance of Templates: time 0.02659/0.4996, allocations: 13.88 MB / 1.381 GB, free: 9.172 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/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: 10.65255538513884]