Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001388/0.001388, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001539/0.001539, allocations: 210.5 kB / 22.99 MB, free: 4.984 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.479/3.479, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.002077/0.002077, allocations: 68.27 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4845, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003252/0.4877, allocations: 1.435 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005207/0.4929, allocations: 2.646 MB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.493, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.493, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.4931, allocations: 19.84 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.4977, allocations: 1.628 MB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.4979, allocations: 39.67 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.4979, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.498, allocations: 19.94 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.498, allocations: 15.92 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.498, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.5006, allocations: 1.548 MB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.5007, allocations: 11.92 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.5007, allocations: 19.92 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.5023, allocations: 1.072 MB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.5023, allocations: 4 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5024, allocations: 0 / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.5024, allocations: 0 / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007461/0.5031, allocations: 476 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5032, allocations: 8.031 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.287e-05/0.5032, allocations: 88.17 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.5034, allocations: 188 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.5035, allocations: 158.9 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5036, allocations: 150.9 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.668e-05/0.5037, allocations: 105.1 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/0.5038, allocations: 75.28 kB / 1.337 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/0.5038, allocations: 154.6 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.666e-05/0.5039, allocations: 154.5 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.504, allocations: 162.5 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.5044, allocations: 413.5 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.5045, allocations: 173.1 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.5045, allocations: 80.14 kB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.5046, allocations: 75.28 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/0.5046, allocations: 105.8 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5046, allocations: 4 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.773e-05/0.5047, allocations: 37.53 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.5048, allocations: 130.7 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.505, allocations: 133.8 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.505, allocations: 25.7 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.5051, allocations: 88.14 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.5051, allocations: 0 / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.5051, allocations: 21.72 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5053, allocations: 322.9 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.5053, allocations: 4 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.5054, allocations: 4 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.5054, allocations: 12.86 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5054, allocations: 0 / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.5056, allocations: 61.55 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5056, allocations: 7.938 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.5056, allocations: 4.062 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5056, allocations: 4 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.5056, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5056, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.5056, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5057, allocations: 0 / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001371/0.5058, allocations: 193.1 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.5059, allocations: 112.9 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.506, allocations: 108.7 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.563e-05/0.506, allocations: 180.3 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.445e-05/0.5061, allocations: 188.2 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.86e-05/0.5062, allocations: 180.3 kB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.5065, allocations: 360.9 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/0.5066, allocations: 104.9 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.5066, allocations: 105 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.626e-05/0.5067, allocations: 180.2 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.5068, allocations: 188.2 kB / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001147/0.507, allocations: 180.3 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001121/0.5071, allocations: 180.2 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.5073, allocations: 315.7 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.5074, allocations: 109 kB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.5075, allocations: 192.1 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5076, allocations: 104.9 kB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5077, allocations: 180.3 kB / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.5078, allocations: 104.9 kB / 1.342 GB, free: 1.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.519e-05/0.5078, allocations: 105.6 kB / 1.342 GB, free: 1.473 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.5078, allocations: 0 / 1.342 GB, free: 1.473 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009168/0.5088, allocations: 291 kB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001187/0.5099, allocations: 0.5437 MB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.5101, allocations: 29.7 kB / 1.343 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5101, allocations: 4 kB / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.5101, allocations: 0 / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.5106, allocations: 469.6 kB / 1.343 GB, free: 140 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.511, allocations: 240.9 kB / 1.343 GB, free: 15.87 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.445e-05/0.5111, allocations: 67.41 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.5111, allocations: 0 / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.5111, allocations: 15.42 kB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.5111, allocations: 0 / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of Templates: time 0.01158/0.5227, allocations: 5.765 MB / 1.349 GB, free: 10.05 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 10.303888398004347]