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.001919/0.001919, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002214/0.002214, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.636/1.636, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.193/3.193, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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: 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.667e-05, allocations: 4.562 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002633/0.00266, allocations: 1.466 MB / 0.8123 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007589/0.01025, allocations: 4.024 MB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.0103, allocations: 5.312 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.01041, allocations: 19.8 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.01064, allocations: 31.83 kB / 0.8163 GB, free: 12.48 MB / 0.7761 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.003904/0.01454, allocations: 1.607 MB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.01469, allocations: 96.91 kB / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.01474, allocations: 4 kB / 0.818 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.01485, allocations: 63.75 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.01511, allocations: 146.2 kB / 0.8182 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.01516, allocations: 16 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.01914, allocations: 2.401 MB / 0.8205 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.01942, allocations: 275.9 kB / 0.8208 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.01964, allocations: 148.5 kB / 0.8209 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.02367, allocations: 2.465 MB / 0.8234 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.02367, allocations: 5.219 kB / 0.8234 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.343e-06/0.02367, allocations: 0 / 0.8234 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.02368, allocations: 0 / 0.8234 GB, free: 5.262 MB / 0.7761 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.01114/0.03481, allocations: 1.393 MB / 0.8247 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.03486, allocations: 12.03 kB / 0.8247 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004108/0.03527, allocations: 96.81 kB / 0.8248 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.03576, allocations: 309.2 kB / 0.8251 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.03579, allocations: 4.375 kB / 0.8251 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.03583, allocations: 12.34 kB / 0.8251 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.03631, allocations: 361.4 kB / 0.8255 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.03631, allocations: 192 / 0.8255 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.03633, allocations: 384 / 0.8255 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.03633, allocations: 7.938 kB / 0.8255 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.03681, allocations: 391.7 kB / 0.8259 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.03757, allocations: 0.6326 MB / 0.8265 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.03819, allocations: 0.5251 MB / 0.827 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.03854, allocations: 312.4 kB / 0.8273 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/0.03919, allocations: 141.6 kB / 0.8274 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.03965, allocations: 388.2 kB / 0.8278 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.03965, allocations: 1.219 kB / 0.8278 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.001723/0.04138, allocations: 1.185 MB / 0.8289 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.04145, allocations: 88.98 kB / 0.829 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.04283, allocations: 1.192 MB / 0.8302 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.04288, allocations: 29.7 kB / 0.8302 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.04318, allocations: 343.7 kB / 0.8306 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.04322, allocations: 19.86 kB / 0.8306 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004727/0.04369, allocations: 406.5 kB / 0.831 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.04395, allocations: 496.4 kB / 0.8314 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.04478, allocations: 0.6547 MB / 0.8321 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009887/0.04577, allocations: 0.8281 MB / 0.8329 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008067/0.05384, allocations: 3.901 MB / 0.8367 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.05384, allocations: 0 / 0.8367 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005032/0.05887, allocations: 4.193 MB / 0.8408 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.05889, allocations: 7.938 kB / 0.8408 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.05891, allocations: 4.531 kB / 0.8408 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.05892, allocations: 0 / 0.8408 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.05908, allocations: 40.02 kB / 0.8408 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.05908, allocations: 0 / 0.8408 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.05962, allocations: 245.3 kB / 0.8411 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.05968, allocations: 19.98 kB / 0.8411 GB, free: 2.723 MB / 0.7917 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.0002182/0.05989, allocations: 168.6 kB / 0.8413 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.05998, allocations: 75.34 kB / 0.8413 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.06131, allocations: 0.8579 MB / 0.8422 GB, free: 1.605 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.06131, allocations: 4.031 kB / 0.8422 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.06132, allocations: 3.938 kB / 0.8422 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.06133, allocations: 7.984 kB / 0.8422 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.06189, allocations: 496.1 kB / 0.8426 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.06189, allocations: 3.984 kB / 0.8427 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.06195, allocations: 4 kB / 0.8427 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.06196, allocations: 4 kB / 0.8427 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.06197, allocations: 0 / 0.8427 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.06197, allocations: 3.938 kB / 0.8427 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.06198, allocations: 7.984 kB / 0.8427 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.063, allocations: 0.9382 MB / 0.8436 GB, free: 88 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.0631, allocations: 83.23 kB / 0.8437 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.06318, allocations: 8.047 kB / 0.8437 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.0633, allocations: 0 / 0.8437 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.06334, allocations: 11.88 kB / 0.8437 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.06338, allocations: 15.97 kB / 0.8437 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006711/0.06405, allocations: 0.5557 MB / 0.8442 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.06405, allocations: 0 / 0.8442 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001733/0.06578, allocations: 0.5884 MB / 0.8448 GB, free: 14.82 MB / 0.8073 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.002815/0.0686, allocations: 0.7999 MB / 0.8456 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.07108, allocations: 1.383 MB / 0.847 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.07108, allocations: 0 / 0.847 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.0716, allocations: 315.5 kB / 0.8473 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.0721, allocations: 47.95 kB / 0.8473 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.07498, allocations: 1.591 MB / 0.8489 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.07572, allocations: 348.1 kB / 0.8492 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000195/0.07591, allocations: 36.45 kB / 0.8492 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.07607, allocations: 28.48 kB / 0.8492 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of SimCode: time 1.042e-06/0.07607, allocations: 0 / 0.8492 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.03792/0.114, allocations: 14.11 MB / 0.863 GB, free: 12.23 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] 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: 9.378031939035282]