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.001715/0.001715, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002036/0.002036, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.718/2.718, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.0021/0.0021, allocations: 71.89 kB / 0.9516 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3185, allocations: 169.9 MB / 1.118 GB, free: 2.457 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002564/0.3211, allocations: 1.431 MB / 1.119 GB, free: 1.016 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006468/0.3276, allocations: 3.849 MB / 1.123 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.3276, allocations: 7.938 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.3277, allocations: 11.86 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3279, allocations: 31.83 kB / 1.123 GB, free: 13.1 MB / 1.076 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.1-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.003896/0.3318, allocations: 1.575 MB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.332, allocations: 87.69 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.332, allocations: 4 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.3321, allocations: 51.83 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3324, allocations: 151.6 kB / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.3324, allocations: 12 kB / 1.125 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.3361, allocations: 2.379 MB / 1.127 GB, free: 8.836 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.3363, allocations: 263.8 kB / 1.127 GB, free: 8.578 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.3366, allocations: 226.9 kB / 1.127 GB, free: 8.355 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.3394, allocations: 2.134 MB / 1.129 GB, free: 6.215 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3394, allocations: 0 / 1.129 GB, free: 6.215 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3394, allocations: 4 kB / 1.129 GB, free: 6.211 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3394, allocations: 0 / 1.129 GB, free: 6.211 MB / 1.076 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.01059/0.35, allocations: 1.284 MB / 1.131 GB, free: 4.891 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.35, allocations: 8.031 kB / 1.131 GB, free: 4.883 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.3504, allocations: 96.19 kB / 1.131 GB, free: 4.789 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.3508, allocations: 303.2 kB / 1.131 GB, free: 4.457 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3508, allocations: 8.375 kB / 1.131 GB, free: 4.449 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.3509, allocations: 4.375 kB / 1.131 GB, free: 4.445 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.3514, allocations: 403.4 kB / 1.131 GB, free: 4.039 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3514, allocations: 0 / 1.131 GB, free: 4.039 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3514, allocations: 0 / 1.131 GB, free: 4.039 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3514, allocations: 4 kB / 1.131 GB, free: 4.035 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.3519, allocations: 435.7 kB / 1.132 GB, free: 3.609 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.3524, allocations: 0.5693 MB / 1.132 GB, free: 3.008 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.353, allocations: 0.5594 MB / 1.133 GB, free: 2.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.3534, allocations: 337.7 kB / 1.133 GB, free: 2.094 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006938/0.3541, allocations: 131.9 kB / 1.133 GB, free: 1.965 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.3545, allocations: 408.8 kB / 1.134 GB, free: 1.547 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3545, allocations: 0 / 1.134 GB, free: 1.547 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001457/0.356, allocations: 1.297 MB / 1.135 GB, free: 248 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.356, allocations: 81.11 kB / 1.135 GB, free: 148 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.575/0.931, allocations: 1.216 MB / 1.136 GB, free: 57.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/0.9311, allocations: 30.77 kB / 1.136 GB, free: 57.83 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.9313, allocations: 266.7 kB / 1.137 GB, free: 57.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.9313, allocations: 21.66 kB / 1.137 GB, free: 57.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.9316, allocations: 351.8 kB / 1.137 GB, free: 57.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.9316, allocations: 312.5 kB / 1.137 GB, free: 57.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.9326, allocations: 1.376 MB / 1.139 GB, free: 57.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.9338, allocations: 1.502 MB / 1.14 GB, free: 56.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006422/0.9402, allocations: 3.559 MB / 1.144 GB, free: 55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.9402, allocations: 0 / 1.144 GB, free: 55 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003443/0.9436, allocations: 4.01 MB / 1.147 GB, free: 53.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.9436, allocations: 6.875 kB / 1.148 GB, free: 53.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.9437, allocations: 3.844 kB / 1.148 GB, free: 53.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.9437, allocations: 6.594 kB / 1.148 GB, free: 53.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.9438, allocations: 19.28 kB / 1.148 GB, free: 53.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.9438, allocations: 0.5 kB / 1.148 GB, free: 53.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.9443, allocations: 241.1 kB / 1.148 GB, free: 52.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.9444, allocations: 26.48 kB / 1.148 GB, free: 52.91 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.0002498/0.9446, allocations: 237.4 kB / 1.148 GB, free: 52.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.9447, allocations: 69.16 kB / 1.148 GB, free: 52.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.9455, allocations: 0.9492 MB / 1.149 GB, free: 52.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9455, allocations: 7.188 kB / 1.149 GB, free: 52.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9455, allocations: 0 / 1.149 GB, free: 52.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9455, allocations: 0 / 1.149 GB, free: 52.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.9458, allocations: 450.3 kB / 1.149 GB, free: 52.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9458, allocations: 0 / 1.149 GB, free: 52.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.9459, allocations: 13.69 kB / 1.149 GB, free: 52.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9459, allocations: 1.312 kB / 1.149 GB, free: 52.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.9459, allocations: 3.938 kB / 1.149 GB, free: 52.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9459, allocations: 3.938 kB / 1.149 GB, free: 52.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9459, allocations: 0 / 1.149 GB, free: 52.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.9466, allocations: 1.005 MB / 1.15 GB, free: 52.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.9467, allocations: 84.16 kB / 1.151 GB, free: 52.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.9467, allocations: 0 / 1.151 GB, free: 52.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.9469, allocations: 10.28 kB / 1.151 GB, free: 52.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.9469, allocations: 6.25 kB / 1.151 GB, free: 52.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.947, allocations: 19.66 kB / 1.151 GB, free: 52.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000561/0.9475, allocations: 0.673 MB / 1.151 GB, free: 52.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9475, allocations: 0 / 1.151 GB, free: 52.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001356/0.9489, allocations: 0.581 MB / 1.152 GB, free: 51.91 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.00162/0.9505, allocations: 0.7094 MB / 1.152 GB, free: 51.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.9521, allocations: 1.994 MB / 1.154 GB, free: 51.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9521, allocations: 2.844 kB / 1.154 GB, free: 51.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.9524, allocations: 336.6 kB / 1.155 GB, free: 51.17 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.9528, allocations: 35.2 kB / 1.155 GB, free: 51.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.9545, allocations: 1.772 MB / 1.157 GB, free: 50.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.9548, allocations: 374.9 kB / 1.157 GB, free: 50.47 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.9549, allocations: 41.34 kB / 1.157 GB, free: 50.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.955, allocations: 30.09 kB / 1.157 GB, free: 50.46 MB / 1.076 GB Notification: Performance of SimCode: time 9.21e-07/0.955, allocations: 0 / 1.157 GB, free: 50.46 MB / 1.076 GB Notification: Performance of Templates: time 0.02518/0.9802, allocations: 13.97 MB / 1.171 GB, free: 49.34 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.92063949094154]