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.001876/0.001876, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.002872/0.002872, allocations: 220.1 kB / 23.01 MB, free: 4.594 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.242/3.242, allocations: 0.505 GB / 0.8108 GB, free: 22.02 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.002/0.002, allocations: 71.09 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3853, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004783/0.3901, allocations: 3.089 MB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.3933, allocations: 2.199 MB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.3935, allocations: 4 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.395, allocations: 0.5235 MB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3953, allocations: 142.9 kB / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.3955, allocations: 59.92 kB / 1.36 GB, free: 1.895 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.396, allocations: 437.9 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.3962, allocations: 107.8 kB / 1.361 GB, free: 1.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3965, allocations: 179.2 kB / 1.361 GB, free: 1.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3967, allocations: 179.2 kB / 1.361 GB, free: 1.004 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.3968, allocations: 35.94 kB / 1.361 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.3969, allocations: 36 kB / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.397, allocations: 107.6 kB / 1.361 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.3972, allocations: 211 kB / 1.361 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.3978, allocations: 0.5408 MB / 1.362 GB, free: 80 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3978, allocations: 4 kB / 1.362 GB, free: 76 kB / 1.045 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3978, allocations: 0 / 1.362 GB, free: 76 kB / 1.045 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3978, allocations: 0 / 1.362 GB, free: 76 kB / 1.045 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.001135/0.3989, allocations: 0.6447 MB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.399, allocations: 8.031 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.3991, allocations: 48.66 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.3996, allocations: 312.6 kB / 1.363 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3996, allocations: 12.81 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.3997, allocations: 24.38 kB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.4001, allocations: 211.6 kB / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4001, allocations: 0 / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.4001, allocations: 7.984 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4001, allocations: 8 kB / 1.363 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.4005, allocations: 169.6 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4017, allocations: 0.8239 MB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.402, allocations: 148.4 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.4022, allocations: 100.8 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.4023, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.4023, allocations: 34.56 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.4023, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0005956/0.4029, allocations: 257.4 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.4029, allocations: 55.41 kB / 1.365 GB, free: 13.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.4034, allocations: 413.7 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4034, allocations: 29.7 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.4036, allocations: 204.5 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.4037, allocations: 71.36 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.4037, allocations: 33.72 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4039, allocations: 346.8 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.404, allocations: 51.97 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4042, allocations: 63.92 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.4044, allocations: 134.7 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4044, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003791/0.4048, allocations: 207.2 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4048, allocations: 6.031 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4048, allocations: 4 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.4049, allocations: 3.938 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.4051, allocations: 59.89 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4051, allocations: 7.938 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4053, allocations: 15.89 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.4053, allocations: 8 kB / 1.366 GB, free: 11.41 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.0001761/0.4054, allocations: 170.4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.4055, allocations: 35.77 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.4056, allocations: 43.47 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4056, allocations: 4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4056, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4056, allocations: 7.984 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.406, allocations: 348.4 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.406, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.4063, allocations: 47.97 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4063, allocations: 4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.4063, allocations: 11.92 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4063, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4063, allocations: 3.938 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.4069, allocations: 383.1 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.407, allocations: 43.72 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.407, allocations: 7.938 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.4072, allocations: 7.984 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.4072, allocations: 19.98 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.4072, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003406/0.4076, allocations: 307.2 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4076, allocations: 4 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002953/0.4079, allocations: 71.89 kB / 1.368 GB, free: 9.844 MB / 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.0001436/0.408, allocations: 107.2 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.4084, allocations: 131.9 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4084, allocations: 0 / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.4085, allocations: 82.41 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.4091, allocations: 94.98 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.4105, allocations: 0.7999 MB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.4109, allocations: 0.7912 MB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.411, allocations: 27.44 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.411, allocations: 0 / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of Templates: time 0.007268/0.4182, allocations: 4.395 MB / 1.374 GB, free: 3.395 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 12.659543992980616]