Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002051/0.002051, allocations: 79.75 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.002668/0.002668, allocations: 162.9 kB / 22.46 MB, free: 5.375 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.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.902/2.902, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.121e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003272/0.003303, allocations: 1.734 MB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00949/0.01279, allocations: 4.905 MB / 0.988 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.01293, allocations: 7.938 kB / 0.988 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.01438, allocations: 342.4 kB / 0.9883 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.01453, allocations: 59.61 kB / 0.9884 GB, free: 4.84 MB / 0.9356 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.004709/0.01924, allocations: 1.604 MB / 0.99 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.0196, allocations: 167.3 kB / 0.9901 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.391e-05/0.01967, allocations: 13.75 kB / 0.9901 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.01981, allocations: 79.78 kB / 0.9902 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.02009, allocations: 155.6 kB / 0.9903 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.02014, allocations: 16 kB / 0.9904 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004497/0.02464, allocations: 2.409 MB / 0.9927 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.02496, allocations: 279.9 kB / 0.993 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.02523, allocations: 168 kB / 0.9931 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.02963, allocations: 2.518 MB / 0.9956 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.02963, allocations: 0 / 0.9956 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.02964, allocations: 0 / 0.9956 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.02965, allocations: 0 / 0.9956 GB, free: 13.44 MB / 0.9512 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.01166/0.04132, allocations: 1.35 MB / 0.9969 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.04136, allocations: 12.03 kB / 0.9969 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.04181, allocations: 100.2 kB / 0.997 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.04249, allocations: 347.7 kB / 0.9974 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.04251, allocations: 4.375 kB / 0.9974 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.04255, allocations: 12.36 kB / 0.9974 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.04313, allocations: 391.7 kB / 0.9977 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.04314, allocations: 192 / 0.9977 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.04316, allocations: 384 / 0.9977 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.04316, allocations: 7.938 kB / 0.9978 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.04372, allocations: 435.7 kB / 0.9982 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.04452, allocations: 0.5898 MB / 0.9987 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.0452, allocations: 0.5593 MB / 0.9993 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.04559, allocations: 337.7 kB / 0.9996 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.04627, allocations: 135.8 kB / 0.9997 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.0468, allocations: 404.9 kB / 1 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.0468, allocations: 0 / 1 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.00165/0.04845, allocations: 1.305 MB / 1.001 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.04851, allocations: 85.05 kB / 1.001 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.05014, allocations: 1.294 MB / 1.003 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.05019, allocations: 33.7 kB / 1.003 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.05046, allocations: 289.9 kB / 1.003 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.0505, allocations: 23.81 kB / 1.003 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.05096, allocations: 347.6 kB / 1.003 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.05114, allocations: 318 kB / 1.004 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.05269, allocations: 1.373 MB / 1.005 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.05451, allocations: 1.509 MB / 1.007 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008232/0.06275, allocations: 3.553 MB / 1.01 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.06275, allocations: 0 / 1.01 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005425/0.06818, allocations: 4.023 MB / 1.014 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.0682, allocations: 4 kB / 1.014 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.06822, allocations: 7.938 kB / 1.014 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.06824, allocations: 0 / 1.014 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.0684, allocations: 19.92 kB / 1.014 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.06841, allocations: 0 / 1.014 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.06905, allocations: 237.4 kB / 1.014 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.06911, allocations: 23.98 kB / 1.014 GB, free: 10.02 MB / 0.9669 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.0003987/0.06951, allocations: 253.6 kB / 1.014 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.0696, allocations: 79.3 kB / 1.015 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.07087, allocations: 0.9524 MB / 1.015 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.07088, allocations: 3.938 kB / 1.015 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.07088, allocations: 3.938 kB / 1.015 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.07089, allocations: 0 / 1.015 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.07141, allocations: 468.3 kB / 1.016 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.07141, allocations: 0 / 1.016 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.07149, allocations: 8.031 kB / 1.016 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.0715, allocations: 4 kB / 1.016 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.07152, allocations: 7.984 kB / 1.016 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.07152, allocations: 0 / 1.016 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.07152, allocations: 4 kB / 1.016 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.07269, allocations: 1.007 MB / 1.017 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.0728, allocations: 91.23 kB / 1.017 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.07287, allocations: 4 kB / 1.017 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.07303, allocations: 8 kB / 1.017 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.07308, allocations: 15.91 kB / 1.017 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.07313, allocations: 11.98 kB / 1.017 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001062/0.07419, allocations: 0.7261 MB / 1.018 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.07419, allocations: 0 / 1.018 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001869/0.07606, allocations: 0.5923 MB / 1.018 GB, free: 5.73 MB / 0.9669 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.002285/0.07834, allocations: 0.7954 MB / 1.019 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.08086, allocations: 1.997 MB / 1.021 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.08086, allocations: 4 kB / 1.021 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.08126, allocations: 331.8 kB / 1.021 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.0817, allocations: 53.23 kB / 1.021 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.08453, allocations: 1.878 MB / 1.023 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.08496, allocations: 401.8 kB / 1.024 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.08512, allocations: 41.41 kB / 1.024 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.08524, allocations: 28.47 kB / 1.024 GB, free: 156 kB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/0.08524, allocations: 4 kB / 1.024 GB, free: 152 kB / 0.9669 GB Notification: Performance of Templates: time 0.02929/0.1145, allocations: 14.75 MB / 1.038 GB, free: 1.543 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.760488368570805]