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.0008871/0.0008871, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008121/0.0008121, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8645/0.8645, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.644/1.644, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] 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 1.934e-06/1.934e-06, allocations: 0 / 0.9518 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.787e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001801/0.001829, allocations: 1.435 MB / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.006351, allocations: 3.845 MB / 0.957 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.006399, allocations: 0 / 0.957 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.00651, allocations: 15.86 kB / 0.957 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.006724, allocations: 31.77 kB / 0.957 GB, free: 13.53 MB / 0.9167 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.002272/0.008996, allocations: 1.598 MB / 0.9586 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.009121, allocations: 99.66 kB / 0.9587 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.009163, allocations: 0 / 0.9587 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.009246, allocations: 59.81 kB / 0.9587 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.00944, allocations: 143.7 kB / 0.9589 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.00947, allocations: 16 kB / 0.9589 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.01174, allocations: 2.374 MB / 0.9612 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.01191, allocations: 271.9 kB / 0.9615 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.01203, allocations: 156 kB / 0.9616 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.01416, allocations: 2.444 MB / 0.964 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01417, allocations: 0 / 0.964 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01417, allocations: 3.938 kB / 0.964 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.01417, allocations: 0 / 0.964 GB, free: 6.367 MB / 0.9167 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.004266/0.01844, allocations: 1.268 MB / 0.9652 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.01849, allocations: 12.03 kB / 0.9653 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.0188, allocations: 88.25 kB / 0.9653 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.01914, allocations: 314.3 kB / 0.9656 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.01915, allocations: 384 / 0.9656 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.01918, allocations: 12.36 kB / 0.9657 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.01957, allocations: 391.8 kB / 0.966 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01958, allocations: 192 / 0.966 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.0196, allocations: 384 / 0.966 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.0196, allocations: 3.938 kB / 0.966 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.01988, allocations: 439.7 kB / 0.9665 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.02029, allocations: 0.5654 MB / 0.967 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.02066, allocations: 0.5633 MB / 0.9676 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.02087, allocations: 341.7 kB / 0.9679 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.02131, allocations: 135.8 kB / 0.968 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.0216, allocations: 404.9 kB / 0.9684 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.0216, allocations: 0 / 0.9684 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0009367/0.02254, allocations: 1.29 MB / 0.9697 GB, free: 424 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.02259, allocations: 92.97 kB / 0.9697 GB, free: 312 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.02347, allocations: 1.223 MB / 0.9709 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.02349, allocations: 33.7 kB / 0.971 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.02363, allocations: 261.9 kB / 0.9712 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.02366, allocations: 27.83 kB / 0.9712 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.02388, allocations: 339.6 kB / 0.9716 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.02397, allocations: 310 kB / 0.9719 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/0.02477, allocations: 1.377 MB / 0.9732 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008928/0.02566, allocations: 1.501 MB / 0.9747 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.03029, allocations: 3.553 MB / 0.9781 GB, free: 7.559 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.0303, allocations: 4 kB / 0.9781 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002904/0.0332, allocations: 4.014 MB / 0.9821 GB, free: 3.508 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.03323, allocations: 8 kB / 0.9821 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.03325, allocations: 0 / 0.9821 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.03327, allocations: 4 kB / 0.9821 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.03337, allocations: 23.86 kB / 0.9821 GB, free: 3.473 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.03338, allocations: 4.062 kB / 0.9821 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.03366, allocations: 241.3 kB / 0.9823 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.0337, allocations: 23.98 kB / 0.9824 GB, free: 3.207 MB / 0.9323 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.0002233/0.03392, allocations: 237.7 kB / 0.9826 GB, free: 2.965 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.03396, allocations: 75.3 kB / 0.9827 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006873/0.03465, allocations: 0.9361 MB / 0.9836 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03466, allocations: 3.938 kB / 0.9836 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.03466, allocations: 7.938 kB / 0.9836 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.03467, allocations: 0 / 0.9836 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.03496, allocations: 447.4 kB / 0.984 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.03496, allocations: 0 / 0.984 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.035, allocations: 12.02 kB / 0.984 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.03501, allocations: 4 kB / 0.984 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.03502, allocations: 4 kB / 0.984 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.03502, allocations: 0 / 0.984 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.03502, allocations: 4 kB / 0.984 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.03571, allocations: 1.006 MB / 0.985 GB, free: 428 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.03577, allocations: 79.34 kB / 0.9851 GB, free: 348 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.03581, allocations: 0 / 0.9851 GB, free: 348 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.03587, allocations: 11.98 kB / 0.9851 GB, free: 336 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.03591, allocations: 11.94 kB / 0.9851 GB, free: 324 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.03594, allocations: 15.97 kB / 0.9851 GB, free: 308 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004824/0.03642, allocations: 0.6689 MB / 0.9858 GB, free: 15.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.03642, allocations: 0 / 0.9858 GB, free: 15.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001306/0.03773, allocations: 0.5884 MB / 0.9864 GB, free: 15.04 MB / 0.948 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.001413/0.03914, allocations: 0.788 MB / 0.9871 GB, free: 14.26 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.04048, allocations: 1.993 MB / 0.9891 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04048, allocations: 0 / 0.9891 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.0407, allocations: 339.8 kB / 0.9894 GB, free: 11.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.04095, allocations: 32.59 kB / 0.9894 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.04242, allocations: 1.813 MB / 0.9912 GB, free: 10.03 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.04265, allocations: 368.1 kB / 0.9915 GB, free: 9.641 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.04272, allocations: 28.47 kB / 0.9916 GB, free: 9.613 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/0.04272, allocations: 0 / 0.9916 GB, free: 9.613 MB / 0.948 GB Notification: Performance of Templates: time 0.01339/0.05611, allocations: 14.33 MB / 1.006 GB, free: 11.29 MB / 0.9636 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.08730592764914]