Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001396/0.001396, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001668/0.001668, allocations: 214 kB / 22.25 MB, free: 4.855 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.65/1.65, allocations: 230.6 MB / 256 MB, free: 7.797 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.499/3.499, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.002069/0.002069, allocations: 63.16 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4738, allocations: 181.9 MB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.006966/0.4808, allocations: 2.86 MB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004917/0.4857, allocations: 1.95 MB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.486, allocations: 11.94 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.4882, allocations: 473.8 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.4887, allocations: 142.9 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.489, allocations: 59.88 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.4896, allocations: 447.9 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.49, allocations: 95.75 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.4904, allocations: 171.4 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.4907, allocations: 155.1 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.838e-05/0.4908, allocations: 36 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.4909, allocations: 40 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.4911, allocations: 95.67 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.4913, allocations: 167.1 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.4922, allocations: 0.5602 MB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4922, allocations: 0 / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4922, allocations: 0 / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.4923, allocations: 0 / 1.371 GB, free: 6.227 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001481/0.4937, allocations: 0.6369 MB / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.4938, allocations: 12.03 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.4939, allocations: 44.66 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007955/0.4947, allocations: 320.5 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.4947, allocations: 20.81 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.4948, allocations: 20.38 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.4954, allocations: 203.6 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4954, allocations: 0 / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.4954, allocations: 12 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.4955, allocations: 4 kB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.496, allocations: 161.6 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.4976, allocations: 0.6399 MB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.4981, allocations: 138.6 kB / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.4984, allocations: 104.8 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4984, allocations: 0 / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.4984, allocations: 42.5 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.4984, allocations: 0 / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.000887/0.4993, allocations: 247.3 kB / 1.373 GB, free: 3.523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.4994, allocations: 67.34 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.5001, allocations: 393.7 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.5002, allocations: 29.7 kB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.5004, allocations: 212.3 kB / 1.374 GB, free: 2.805 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.5005, allocations: 63.44 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.5006, allocations: 41.64 kB / 1.374 GB, free: 2.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.5008, allocations: 338.8 kB / 1.375 GB, free: 2.355 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.5011, allocations: 55.97 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.5013, allocations: 59.95 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.5018, allocations: 134.7 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5018, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006371/0.5024, allocations: 210.9 kB / 1.375 GB, free: 1.898 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5024, allocations: 4 kB / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5024, allocations: 0 / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5025, allocations: 3.984 kB / 1.375 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.5029, allocations: 63.84 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5029, allocations: 0 / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.5031, allocations: 15.94 kB / 1.375 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.5031, allocations: 7.984 kB / 1.375 GB, free: 1.805 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0002516/0.5034, allocations: 158.9 kB / 1.375 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.5035, allocations: 31.81 kB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.902e-05/0.5036, allocations: 43.39 kB / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5036, allocations: 3.938 kB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5036, allocations: 4 kB / 1.375 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5036, allocations: 0 / 1.375 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.504, allocations: 269.1 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.504, allocations: 0 / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.5044, allocations: 59.89 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5044, allocations: 0 / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.5044, allocations: 8 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5044, allocations: 0 / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5044, allocations: 3.938 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.5054, allocations: 381.4 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.5055, allocations: 39.73 kB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.5056, allocations: 7.984 kB / 1.376 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.5058, allocations: 11.94 kB / 1.376 GB, free: 0.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.5059, allocations: 15.91 kB / 1.376 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.5059, allocations: 11.98 kB / 1.376 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004395/0.5063, allocations: 283.2 kB / 1.376 GB, free: 456 kB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5063, allocations: 0 / 1.376 GB, free: 456 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005024/0.5068, allocations: 75.84 kB / 1.376 GB, free: 380 kB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001966/0.507, allocations: 115.2 kB / 1.377 GB, free: 256 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.5075, allocations: 142.1 kB / 1.377 GB, free: 116 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5075, allocations: 0 / 1.377 GB, free: 116 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.5077, allocations: 67.91 kB / 1.377 GB, free: 48 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.5083, allocations: 73.45 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.51, allocations: 0.7518 MB / 1.378 GB, free: 15.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.5103, allocations: 190.2 kB / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.5104, allocations: 34.95 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.5105, allocations: 23.44 kB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of SimCode: time 8.42e-07/0.5105, allocations: 0 / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of Templates: time 0.009935/0.5204, allocations: 4.173 MB / 1.382 GB, free: 10.89 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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: 10.138293165713549]