Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001619/0.001619, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002408/0.002408, allocations: 213 kB / 23.01 MB, free: 4.566 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.312/3.312, 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002057/0.002057, allocations: 71.62 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4299, allocations: 180.2 MB / 1.354 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006079/0.436, allocations: 4.217 MB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004149/0.4402, allocations: 2.472 MB / 1.361 GB, free: 1.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.4406, allocations: 12 kB / 1.361 GB, free: 1.168 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.4425, allocations: 0.5559 MB / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.4431, allocations: 242 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.4434, allocations: 143.8 kB / 1.362 GB, free: 236 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.4444, allocations: 0.8123 MB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.4448, allocations: 235 kB / 1.363 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.4453, allocations: 310.9 kB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.4457, allocations: 326.6 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.4458, allocations: 72 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4459, allocations: 76 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.446, allocations: 167.4 kB / 1.364 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.4464, allocations: 394.2 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.4475, allocations: 0.9885 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4475, allocations: 0 / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4475, allocations: 4 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.4475, allocations: 0 / 1.365 GB, free: 12.87 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001573/0.4491, allocations: 0.8899 MB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4491, allocations: 8.031 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.4492, allocations: 76.47 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.45, allocations: 400.2 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.45, allocations: 41.38 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.4501, allocations: 52.36 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.4508, allocations: 422.8 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.4509, allocations: 7.938 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.4509, allocations: 16 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4509, allocations: 12 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.4516, allocations: 371.7 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.4539, allocations: 1.484 MB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.4544, allocations: 310.7 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.4549, allocations: 280.8 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.4549, allocations: 8 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4549, allocations: 47.2 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.4549, allocations: 0 / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=42): time 0.0009962/0.4559, allocations: 0.4905 MB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.456, allocations: 55.41 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.4566, allocations: 489.9 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4566, allocations: 29.7 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.4568, allocations: 280.7 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.457, allocations: 158.6 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4571, allocations: 62.08 kB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4573, allocations: 358.8 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.4575, allocations: 120.7 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4578, allocations: 137.1 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.4583, allocations: 294.2 kB / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4583, allocations: 0 / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006712/0.459, allocations: 392.7 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.459, allocations: 8 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.459, allocations: 0 / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.459, allocations: 0 / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.4595, allocations: 127.9 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.4595, allocations: 4 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.4598, allocations: 39.72 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.4598, allocations: 12 kB / 1.372 GB, free: 5.27 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 (46): * Single equations (assignments): 46 * 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.0002411/0.46, allocations: 194.4 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.4601, allocations: 59.59 kB / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.4603, allocations: 61.11 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4603, allocations: 4 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4603, allocations: 0 / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4603, allocations: 3.984 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.461, allocations: 0.5392 MB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.461, allocations: 0 / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.4615, allocations: 131.8 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4615, allocations: 4 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.4616, allocations: 12 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4616, allocations: 11.94 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4616, allocations: 3.938 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4626, allocations: 0.6431 MB / 1.374 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.4627, allocations: 67.52 kB / 1.374 GB, free: 3.473 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.4628, allocations: 8.094 kB / 1.374 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.463, allocations: 19.94 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.4631, allocations: 27.92 kB / 1.374 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.4631, allocations: 12 kB / 1.374 GB, free: 3.406 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004279/0.4635, allocations: 347.1 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4635, allocations: 0 / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004246/0.4639, allocations: 139.8 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0002004/0.4641, allocations: 115.2 kB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006409/0.4648, allocations: 308.2 kB / 1.375 GB, free: 2.512 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4648, allocations: 0 / 1.375 GB, free: 2.512 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.4651, allocations: 167.6 kB / 1.375 GB, free: 2.348 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.4657, allocations: 121.9 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.4679, allocations: 1.241 MB / 1.376 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.4684, allocations: 0.8741 MB / 1.377 GB, free: 44 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4685, allocations: 39.44 kB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.4685, allocations: 0 / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of Templates: time 0.01134/0.4798, allocations: 6.901 MB / 1.384 GB, free: 9.156 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.892975624010433]