Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001929/0.001929, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002361/0.002361, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.532/1.532, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.812/2.812, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7865 GB, free: 11.62 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.313e-05, allocations: 2.312 kB / 0.7865 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003424/0.003457, allocations: 1.423 MB / 0.7879 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008145/0.0116, allocations: 3.842 MB / 0.7916 GB, free: 6.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.01173, allocations: 5.531 kB / 0.7916 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.0119, allocations: 11.86 kB / 0.7916 GB, free: 6.336 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.01222, allocations: 39.7 kB / 0.7917 GB, free: 6.297 MB / 0.698 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.005515/0.01774, allocations: 1.603 MB / 0.7932 GB, free: 4.695 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.01792, allocations: 91.67 kB / 0.7933 GB, free: 4.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.01798, allocations: 7.984 kB / 0.7933 GB, free: 4.598 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.01811, allocations: 64.33 kB / 0.7934 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.01839, allocations: 136.5 kB / 0.7935 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.01844, allocations: 21.19 kB / 0.7935 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/0.023, allocations: 2.379 MB / 0.7959 GB, free: 2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.02331, allocations: 275.9 kB / 0.7961 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.02354, allocations: 149.1 kB / 0.7963 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004714/0.02826, allocations: 2.448 MB / 0.7987 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.02827, allocations: 1.125 kB / 0.7987 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.264e-06/0.02827, allocations: 0 / 0.7987 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.02828, allocations: 0 / 0.7987 GB, free: 15.13 MB / 0.7136 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.00921/0.03749, allocations: 1.273 MB / 0.7999 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.03754, allocations: 8.031 kB / 0.7999 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.03802, allocations: 95.31 kB / 0.8 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.03859, allocations: 310.4 kB / 0.8003 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.0386, allocations: 384 / 0.8003 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.03864, allocations: 16.31 kB / 0.8003 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.0392, allocations: 398.4 kB / 0.8007 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.03921, allocations: 192 / 0.8007 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.03923, allocations: 384 / 0.8007 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.03924, allocations: 3.938 kB / 0.8007 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.03981, allocations: 439.7 kB / 0.8011 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.04059, allocations: 0.5693 MB / 0.8017 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.04128, allocations: 0.5608 MB / 0.8022 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.0417, allocations: 334.2 kB / 0.8025 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008063/0.04251, allocations: 137.4 kB / 0.8027 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/0.04306, allocations: 413.8 kB / 0.8031 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.04307, allocations: 0 / 0.8031 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.001987/0.04505, allocations: 1.291 MB / 0.8043 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.04514, allocations: 93.03 kB / 0.8044 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.04666, allocations: 1.216 MB / 0.8056 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.04672, allocations: 33.69 kB / 0.8056 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.04697, allocations: 261.9 kB / 0.8059 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.04702, allocations: 24.91 kB / 0.8059 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/0.04744, allocations: 343.6 kB / 0.8062 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.04761, allocations: 314 kB / 0.8065 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.04919, allocations: 1.37 MB / 0.8079 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.051, allocations: 1.515 MB / 0.8094 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008479/0.05948, allocations: 3.553 MB / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.05949, allocations: 0 / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005599/0.06509, allocations: 4.015 MB / 0.8167 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.06511, allocations: 12.03 kB / 0.8168 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.06514, allocations: 0 / 0.8168 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.06517, allocations: 4 kB / 0.8168 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.06533, allocations: 23.86 kB / 0.8168 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.06534, allocations: 0 / 0.8168 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.06594, allocations: 233.4 kB / 0.817 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.06601, allocations: 31.97 kB / 0.817 GB, free: 11.97 MB / 0.7292 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.0004041/0.06641, allocations: 241.6 kB / 0.8173 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.06662, allocations: 79.3 kB / 0.8173 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.06789, allocations: 0.9361 MB / 0.8183 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.0679, allocations: 4 kB / 0.8183 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.06791, allocations: 3.938 kB / 0.8183 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.06791, allocations: 0 / 0.8183 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.06847, allocations: 443.4 kB / 0.8187 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.06847, allocations: 4 kB / 0.8187 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.06856, allocations: 11.97 kB / 0.8187 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.06856, allocations: 4.031 kB / 0.8187 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.06857, allocations: 4 kB / 0.8187 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.06858, allocations: 0 / 0.8187 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.06858, allocations: 0 / 0.8187 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.06985, allocations: 1.006 MB / 0.8197 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.06997, allocations: 83.3 kB / 0.8198 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.07002, allocations: 4 kB / 0.8198 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.07018, allocations: 11.98 kB / 0.8198 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.07024, allocations: 11.94 kB / 0.8198 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.07029, allocations: 15.97 kB / 0.8198 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008906/0.07118, allocations: 0.6689 MB / 0.8205 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.07118, allocations: 0 / 0.8205 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001984/0.07316, allocations: 0.5923 MB / 0.821 GB, free: 7.785 MB / 0.7292 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.002287/0.07545, allocations: 0.7895 MB / 0.8218 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00261/0.07806, allocations: 2.005 MB / 0.8238 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.07806, allocations: 0 / 0.8238 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.07848, allocations: 335.8 kB / 0.8241 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.07884, allocations: 36.59 kB / 0.8241 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.08164, allocations: 1.786 MB / 0.8259 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.08211, allocations: 372 kB / 0.8262 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000154/0.08226, allocations: 40.45 kB / 0.8263 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.08239, allocations: 28.48 kB / 0.8263 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/0.0824, allocations: 0 / 0.8263 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of Templates: time 0.02827/0.1107, allocations: 14 MB / 0.84 GB, free: 4.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.201744760968722]