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_SmallScaleValidation.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.001796/0.001796, allocations: 78.66 kB / 19.18 MB, free: 2.516 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.002106/0.002106, allocations: 164.1 kB / 22.46 MB, free: 5.371 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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 3.012/3.012, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] 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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 1 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.053e-05, allocations: 2.281 kB / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003168/0.003198, allocations: 1.739 MB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008807/0.012, allocations: 4.895 MB / 1.007 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.01213, allocations: 0 / 1.007 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.01357, allocations: 342.3 kB / 1.007 GB, free: 212 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.01372, allocations: 67.66 kB / 1.007 GB, free: 144 kB / 0.9512 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.004538/0.01826, allocations: 1.595 MB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.01858, allocations: 167.3 kB / 1.009 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.477e-05/0.01865, allocations: 9.797 kB / 1.009 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.01879, allocations: 83.73 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.01907, allocations: 155.6 kB / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.01912, allocations: 16 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.02336, allocations: 2.402 MB / 1.011 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.02366, allocations: 287.9 kB / 1.012 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.0239, allocations: 164 kB / 1.012 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.02793, allocations: 2.514 MB / 1.014 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.02793, allocations: 0 / 1.014 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.02794, allocations: 0 / 1.014 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.02794, allocations: 0 / 1.014 GB, free: 8.754 MB / 0.9669 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.01223/0.04018, allocations: 1.348 MB / 1.016 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.04023, allocations: 8.031 kB / 1.016 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/0.04072, allocations: 96.2 kB / 1.016 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.04139, allocations: 355.7 kB / 1.016 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.0414, allocations: 4.375 kB / 1.016 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.04145, allocations: 8.375 kB / 1.016 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.04197, allocations: 387.8 kB / 1.016 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.04198, allocations: 4.125 kB / 1.016 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.042, allocations: 4.359 kB / 1.016 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.042, allocations: 7.875 kB / 1.016 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.04252, allocations: 435.7 kB / 1.017 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.04328, allocations: 0.6015 MB / 1.017 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.04394, allocations: 0.5555 MB / 1.018 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.04434, allocations: 329.7 kB / 1.018 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/0.04501, allocations: 135.8 kB / 1.018 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/0.04552, allocations: 408.9 kB / 1.019 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.04552, allocations: 0 / 1.019 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001651/0.04717, allocations: 1.297 MB / 1.02 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.04724, allocations: 89.03 kB / 1.02 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.04873, allocations: 1.294 MB / 1.021 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.04878, allocations: 33.69 kB / 1.021 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.04907, allocations: 289.9 kB / 1.022 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.04911, allocations: 23.8 kB / 1.022 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.04954, allocations: 343.6 kB / 1.022 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.04972, allocations: 318.1 kB / 1.022 GB, free: 240 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.05133, allocations: 1.381 MB / 1.024 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.05299, allocations: 1.501 MB / 1.025 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008119/0.06111, allocations: 3.557 MB / 1.029 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.06111, allocations: 0 / 1.029 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005353/0.06647, allocations: 4.011 MB / 1.033 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.0665, allocations: 8 kB / 1.033 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.06652, allocations: 7.984 kB / 1.033 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.06655, allocations: 4 kB / 1.033 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.0667, allocations: 15.94 kB / 1.033 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.06671, allocations: 0 / 1.033 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.0673, allocations: 245.3 kB / 1.033 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.06736, allocations: 19.98 kB / 1.033 GB, free: 5.344 MB / 0.9825 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.0003749/0.06774, allocations: 254.2 kB / 1.033 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.06782, allocations: 79.25 kB / 1.033 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.06902, allocations: 0.9523 MB / 1.034 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.06903, allocations: 4 kB / 1.034 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.06904, allocations: 3.938 kB / 1.034 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.06904, allocations: 0 / 1.034 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.06959, allocations: 464.3 kB / 1.035 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.06959, allocations: 32 / 1.035 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.06967, allocations: 11.98 kB / 1.035 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.06968, allocations: 7.922 kB / 1.035 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.0697, allocations: 8 kB / 1.035 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0697, allocations: 0 / 1.035 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.0697, allocations: 0 / 1.035 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.07098, allocations: 1.022 MB / 1.036 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.0711, allocations: 83.3 kB / 1.036 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.07118, allocations: 0 / 1.036 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.07135, allocations: 11.98 kB / 1.036 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.07141, allocations: 11.94 kB / 1.036 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.07146, allocations: 15.97 kB / 1.036 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009395/0.0724, allocations: 0.7261 MB / 1.036 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.0724, allocations: 0 / 1.036 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001753/0.07415, allocations: 0.5845 MB / 1.037 GB, free: 1.047 MB / 0.9825 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.002257/0.07641, allocations: 0.7886 MB / 1.038 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.07884, allocations: 2.001 MB / 1.04 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.07885, allocations: 3.938 kB / 1.04 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.07924, allocations: 339.7 kB / 1.04 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.07967, allocations: 48.7 kB / 1.04 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.08229, allocations: 1.89 MB / 1.042 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.08272, allocations: 397.8 kB / 1.042 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000154/0.08287, allocations: 41.47 kB / 1.042 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.083, allocations: 28.47 kB / 1.042 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.083, allocations: 0 / 1.042 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.02837/0.1114, allocations: 14.73 MB / 1.057 GB, free: 12.88 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.950233399868011]