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.001392/0.001392, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001509/0.001509, allocations: 220.1 kB / 23 MB, free: 4.914 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.398/3.398, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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: 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_latest_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_latest_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.002095/0.002095, allocations: 71.5 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002997/0.4208, allocations: 1.438 MB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00753/0.4283, allocations: 3.842 MB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.4284, allocations: 0 / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.4286, allocations: 15.86 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.4288, allocations: 35.78 kB / 1.37 GB, free: 8.18 MB / 1.061 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.004822/0.4336, allocations: 1.596 MB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.4338, allocations: 91.73 kB / 1.372 GB, free: 6.488 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.4339, allocations: 7.938 kB / 1.372 GB, free: 6.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.434, allocations: 47.89 kB / 1.372 GB, free: 6.434 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.4343, allocations: 151.6 kB / 1.372 GB, free: 6.285 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.4343, allocations: 12 kB / 1.372 GB, free: 6.273 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004476/0.4388, allocations: 2.386 MB / 1.374 GB, free: 3.883 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.4391, allocations: 279.8 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.4393, allocations: 218.9 kB / 1.375 GB, free: 3.391 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.4432, allocations: 2.142 MB / 1.377 GB, free: 1.242 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4432, allocations: 0 / 1.377 GB, free: 1.242 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4432, allocations: 0 / 1.377 GB, free: 1.242 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.4432, allocations: 0 / 1.377 GB, free: 1.242 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.0101/0.4533, allocations: 1.264 MB / 1.378 GB, free: 15.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4534, allocations: 15.97 kB / 1.378 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.4538, allocations: 88.25 kB / 1.378 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.4543, allocations: 311.2 kB / 1.378 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.4543, allocations: 12.36 kB / 1.378 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.4543, allocations: 4.375 kB / 1.378 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.4549, allocations: 387.5 kB / 1.379 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4549, allocations: 0 / 1.379 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4549, allocations: 4 kB / 1.379 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4549, allocations: 0 / 1.379 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.4554, allocations: 439.7 kB / 1.379 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.4561, allocations: 0.5654 MB / 1.38 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.4567, allocations: 0.5594 MB / 1.38 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.4571, allocations: 341.7 kB / 1.381 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.4578, allocations: 131.7 kB / 1.381 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004837/0.4583, allocations: 404.9 kB / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.4583, allocations: 3.938 kB / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001594/0.4599, allocations: 1.301 MB / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.4599, allocations: 81.11 kB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.4613, allocations: 1.219 MB / 1.384 GB, free: 9.957 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.4614, allocations: 33.7 kB / 1.384 GB, free: 9.918 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.4616, allocations: 270 kB / 1.384 GB, free: 9.648 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.4617, allocations: 27.78 kB / 1.384 GB, free: 9.621 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.462, allocations: 351.6 kB / 1.384 GB, free: 9.273 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4622, allocations: 314 kB / 1.385 GB, free: 8.961 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.4637, allocations: 1.369 MB / 1.386 GB, free: 7.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4653, allocations: 1.505 MB / 1.387 GB, free: 6.074 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00779/0.4731, allocations: 3.557 MB / 1.391 GB, free: 2.426 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4731, allocations: 0 / 1.391 GB, free: 2.426 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005158/0.4783, allocations: 4.007 MB / 1.395 GB, free: 14.38 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4783, allocations: 7.938 kB / 1.395 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.4783, allocations: 4 kB / 1.395 GB, free: 14.37 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4784, allocations: 0 / 1.395 GB, free: 14.37 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4785, allocations: 15.98 kB / 1.395 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4785, allocations: 3.938 kB / 1.395 GB, free: 14.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.4791, allocations: 245.4 kB / 1.395 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.4791, allocations: 27.98 kB / 1.395 GB, free: 14.08 MB / 1.092 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.0003546/0.4795, allocations: 233.7 kB / 1.395 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.4796, allocations: 79.23 kB / 1.395 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4808, allocations: 0.9321 MB / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4808, allocations: 4 kB / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4808, allocations: 4.031 kB / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4808, allocations: 0 / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.4813, allocations: 447.3 kB / 1.397 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.4813, allocations: 4 kB / 1.397 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.4813, allocations: 11.98 kB / 1.397 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4813, allocations: 0 / 1.397 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.4814, allocations: 11.94 kB / 1.397 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4814, allocations: 0 / 1.397 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4814, allocations: 400 / 1.397 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4825, allocations: 1.014 MB / 1.398 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4826, allocations: 83.28 kB / 1.398 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.4826, allocations: 7.938 kB / 1.398 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4828, allocations: 15.92 kB / 1.398 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.4828, allocations: 0 / 1.398 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.4829, allocations: 15.97 kB / 1.398 GB, free: 11.17 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000842/0.4837, allocations: 0.6689 MB / 1.398 GB, free: 10.49 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.4837, allocations: 0 / 1.398 GB, free: 10.49 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00175/0.4855, allocations: 0.5884 MB / 1.399 GB, free: 9.902 MB / 1.092 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.002065/0.4875, allocations: 0.701 MB / 1.4 GB, free: 9.215 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002518/0.49, allocations: 1.997 MB / 1.402 GB, free: 7.203 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.49, allocations: 0 / 1.402 GB, free: 7.203 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.4904, allocations: 331.8 kB / 1.402 GB, free: 6.879 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.4908, allocations: 45.77 kB / 1.402 GB, free: 6.832 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.4933, allocations: 1.818 MB / 1.404 GB, free: 4.969 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4938, allocations: 376.1 kB / 1.404 GB, free: 4.578 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4939, allocations: 23.42 kB / 1.404 GB, free: 4.555 MB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/0.4939, allocations: 0 / 1.404 GB, free: 4.555 MB / 1.092 GB Notification: Performance of Templates: time 0.02659/0.5205, allocations: 14.31 MB / 1.418 GB, free: 6.254 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 800] 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: 17.08128702128306]