Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001663/0.001663, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002112/0.002112, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.399/3.399, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002127/0.002127, allocations: 63.44 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4618, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003915/0.4657, allocations: 1.441 MB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005928/0.4717, allocations: 2.65 MB / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.4717, allocations: 0 / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.4717, allocations: 7.922 kB / 1.369 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.4718, allocations: 11.88 kB / 1.369 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/0.4767, allocations: 1.607 MB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.4768, allocations: 39.73 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.4769, allocations: 4 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.4769, allocations: 19.92 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.4769, allocations: 19.92 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.4769, allocations: 0 / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.4794, allocations: 1.454 MB / 1.372 GB, free: 6.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.4794, allocations: 7.938 kB / 1.372 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.4795, allocations: 11.94 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.4811, allocations: 1.072 MB / 1.373 GB, free: 5.176 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4811, allocations: 0 / 1.373 GB, free: 5.176 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.556e-06/0.4811, allocations: 0 / 1.373 GB, free: 5.176 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4811, allocations: 0 / 1.373 GB, free: 5.176 MB / 1.061 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.0007824/0.4819, allocations: 472 kB / 1.373 GB, free: 4.684 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4819, allocations: 15.97 kB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.482, allocations: 76.22 kB / 1.373 GB, free: 4.594 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4822, allocations: 201.8 kB / 1.374 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-05/0.4823, allocations: 150.9 kB / 1.374 GB, free: 4.223 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.485e-05/0.4824, allocations: 150.9 kB / 1.374 GB, free: 4.074 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.4825, allocations: 105.1 kB / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.4825, allocations: 79.28 kB / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.4826, allocations: 150.6 kB / 1.374 GB, free: 3.738 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/0.4827, allocations: 150.6 kB / 1.374 GB, free: 3.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.4828, allocations: 154.5 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.4831, allocations: 425.5 kB / 1.375 GB, free: 2.992 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.4833, allocations: 173.1 kB / 1.375 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.4833, allocations: 84.14 kB / 1.375 GB, free: 2.727 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.4834, allocations: 75.28 kB / 1.375 GB, free: 2.652 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.738e-05/0.4835, allocations: 113.8 kB / 1.375 GB, free: 2.531 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4835, allocations: 0 / 1.375 GB, free: 2.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.208e-05/0.4835, allocations: 33.58 kB / 1.375 GB, free: 2.492 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.4836, allocations: 130.7 kB / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4838, allocations: 136 kB / 1.376 GB, free: 2.211 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4838, allocations: 25.7 kB / 1.376 GB, free: 2.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.4839, allocations: 96.12 kB / 1.376 GB, free: 2.082 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.4839, allocations: 0 / 1.376 GB, free: 2.082 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.4839, allocations: 17.72 kB / 1.376 GB, free: 2.059 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4841, allocations: 314.8 kB / 1.376 GB, free: 1.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.4842, allocations: 8 kB / 1.376 GB, free: 1.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.4842, allocations: 7.984 kB / 1.376 GB, free: 1.727 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.442e-05/0.4842, allocations: 12.84 kB / 1.376 GB, free: 1.711 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4842, allocations: 0 / 1.376 GB, free: 1.711 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.4844, allocations: 45.7 kB / 1.376 GB, free: 1.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4844, allocations: 7.938 kB / 1.376 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4844, allocations: 7.984 kB / 1.376 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4844, allocations: 4.062 kB / 1.376 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.4844, allocations: 0 / 1.376 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4844, allocations: 0 / 1.376 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.4845, allocations: 3.953 kB / 1.376 GB, free: 1.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4845, allocations: 4 kB / 1.376 GB, free: 1.633 MB / 1.061 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.0001423/0.4846, allocations: 187.3 kB / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.486e-05/0.4847, allocations: 120.8 kB / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.4848, allocations: 108.8 kB / 1.377 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.945e-05/0.4849, allocations: 180.3 kB / 1.377 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/0.485, allocations: 180.2 kB / 1.377 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-05/0.4851, allocations: 184.3 kB / 1.377 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.4853, allocations: 364.8 kB / 1.377 GB, free: 256 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.625e-05/0.4854, allocations: 109 kB / 1.377 GB, free: 140 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.4855, allocations: 105 kB / 1.378 GB, free: 28 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.4856, allocations: 180.2 kB / 1.378 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4857, allocations: 184.2 kB / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-05/0.4858, allocations: 180.2 kB / 1.378 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000104/0.4859, allocations: 180.3 kB / 1.378 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.4861, allocations: 307.8 kB / 1.379 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.4862, allocations: 112.9 kB / 1.379 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.4863, allocations: 192.1 kB / 1.379 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.4864, allocations: 105 kB / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4865, allocations: 188.1 kB / 1.379 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.4866, allocations: 101 kB / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.278e-05/0.4867, allocations: 95.27 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4867, allocations: 0 / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008966/0.4876, allocations: 298.9 kB / 1.38 GB, free: 13.86 MB / 1.076 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.001181/0.4888, allocations: 0.5313 MB / 1.38 GB, free: 13.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.4889, allocations: 37.69 kB / 1.38 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4889, allocations: 4 kB / 1.38 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-06/0.4889, allocations: 3.938 kB / 1.38 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.4894, allocations: 461.1 kB / 1.381 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.4898, allocations: 264.2 kB / 1.381 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.4899, allocations: 71.34 kB / 1.381 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.4899, allocations: 11.44 kB / 1.381 GB, free: 12.42 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.4899, allocations: 0 / 1.381 GB, free: 12.42 MB / 1.076 GB Notification: Performance of Templates: time 0.009832/0.4997, allocations: 4.828 MB / 1.386 GB, free: 7.598 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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: 13.805271875113249]