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.0008458/0.0008458, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008505/0.0008505, allocations: 177.9 kB / 23.22 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.9129/0.9129, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.814/1.814, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.568e-05, allocations: 6.219 kB / 1.001 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001729/0.001755, allocations: 1.427 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004368/0.006123, allocations: 3.852 MB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.006165, allocations: 3.938 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.006275, allocations: 15.86 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.006497, allocations: 43.64 kB / 1.006 GB, free: 7.531 MB / 0.9636 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.002112/0.008609, allocations: 1.588 MB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.008721, allocations: 99.66 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.008761, allocations: 0 / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.008839, allocations: 63.88 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.009017, allocations: 143.7 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.009046, allocations: 16 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.01115, allocations: 2.401 MB / 1.01 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.0113, allocations: 279.8 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.01141, allocations: 144 kB / 1.011 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.01342, allocations: 2.455 MB / 1.013 GB, free: 348 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.01342, allocations: 0 / 1.013 GB, free: 348 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01342, allocations: 0 / 1.013 GB, free: 348 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.01343, allocations: 0 / 1.013 GB, free: 348 kB / 0.9636 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.00414/0.01757, allocations: 1.268 MB / 1.014 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.01761, allocations: 12.75 kB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.01785, allocations: 96.2 kB / 1.015 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.01813, allocations: 306.4 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.01814, allocations: 4.375 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.01817, allocations: 8.375 kB / 1.015 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.01848, allocations: 395.7 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.01848, allocations: 192 / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.01849, allocations: 384 / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.0185, allocations: 3.938 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.01878, allocations: 439.7 kB / 1.016 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.01915, allocations: 0.5654 MB / 1.016 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.0195, allocations: 0.5594 MB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.01971, allocations: 337.7 kB / 1.017 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/0.0201, allocations: 131.8 kB / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.02037, allocations: 412.8 kB / 1.018 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.02037, allocations: 0 / 1.018 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.0008812/0.02125, allocations: 1.301 MB / 1.019 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.02129, allocations: 85.03 kB / 1.019 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.02211, allocations: 1.215 MB / 1.02 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.02214, allocations: 37.81 kB / 1.02 GB, free: 9.004 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.02227, allocations: 265.9 kB / 1.02 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.0223, allocations: 19.89 kB / 1.02 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.0225, allocations: 343.6 kB / 1.021 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.02257, allocations: 306 kB / 1.021 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.02334, allocations: 1.373 MB / 1.022 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.02417, allocations: 1.505 MB / 1.024 GB, free: 5.184 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.02875, allocations: 3.564 MB / 1.027 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.02875, allocations: 8 kB / 1.027 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002752/0.0315, allocations: 4.007 MB / 1.031 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.03152, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.03153, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.03155, allocations: 7.938 kB / 1.031 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.03163, allocations: 19.92 kB / 1.031 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.03164, allocations: 4.031 kB / 1.031 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.03189, allocations: 245.3 kB / 1.032 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.03192, allocations: 23.97 kB / 1.032 GB, free: 13.18 MB / 0.9948 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.0002018/0.03212, allocations: 237.7 kB / 1.032 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.03216, allocations: 71.28 kB / 1.032 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006397/0.0328, allocations: 0.9362 MB / 1.033 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.0328, allocations: 4.031 kB / 1.033 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.03281, allocations: 7.938 kB / 1.033 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.03281, allocations: 0 / 1.033 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.03314, allocations: 443.3 kB / 1.033 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.03314, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.03318, allocations: 15.94 kB / 1.033 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.03318, allocations: 3.984 kB / 1.033 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.03319, allocations: 0 / 1.033 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.03319, allocations: 4 kB / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03319, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.03377, allocations: 1.006 MB / 1.034 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.03382, allocations: 79.34 kB / 1.034 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.03386, allocations: 0 / 1.034 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.03392, allocations: 4 kB / 1.034 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.03396, allocations: 15.92 kB / 1.034 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.03398, allocations: 19.91 kB / 1.034 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004599/0.03444, allocations: 0.6689 MB / 1.035 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.03444, allocations: 0 / 1.035 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001066/0.03551, allocations: 0.5923 MB / 1.036 GB, free: 9.008 MB / 0.9948 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.001323/0.03683, allocations: 0.7862 MB / 1.036 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.03807, allocations: 2.007 MB / 1.038 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.03808, allocations: 0 / 1.038 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.03828, allocations: 335.9 kB / 1.039 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.0385, allocations: 40.58 kB / 1.039 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.03998, allocations: 1.797 MB / 1.04 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.0402, allocations: 376.7 kB / 1.041 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.04027, allocations: 28.47 kB / 1.041 GB, free: 3.586 MB / 0.9948 GB Notification: Performance of SimCode: time 5.21e-07/0.04027, allocations: 0 / 1.041 GB, free: 3.586 MB / 0.9948 GB Notification: Performance of Templates: time 0.01253/0.05279, allocations: 14.39 MB / 1.055 GB, free: 5.199 MB / 1.01 GB " [Timeout remaining time 300] 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/jenkins/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: 10.055587885901332]