Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00171/0.00171, 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.001966/0.001966, 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.29/3.29, allocations: 0.4892 GB / 0.7951 GB, free: 35.78 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.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_12_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_12_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.002123/0.002123, allocations: 71.89 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4508, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.006217/0.457, allocations: 2.85 MB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004021/0.4611, allocations: 1.973 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.4615, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.4638, allocations: 477.8 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005242/0.4643, allocations: 146.9 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.4645, allocations: 59.94 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.4651, allocations: 441.9 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.4654, allocations: 95.84 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.4657, allocations: 171.3 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.4659, allocations: 155.2 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.466, allocations: 32 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.481e-05/0.4661, allocations: 36 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.4662, allocations: 99.61 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.4664, allocations: 171.2 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007211/0.4672, allocations: 0.5525 MB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.4672, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.946e-06/0.4672, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4672, allocations: 4 kB / 1.333 GB, free: 10.55 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001402/0.4686, allocations: 0.6406 MB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.262e-05/0.4687, allocations: 8.031 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4688, allocations: 52.61 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.4695, allocations: 316.6 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.4696, allocations: 16.81 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.4696, allocations: 24.38 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.4701, allocations: 199.6 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.4701, allocations: 0 / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.4702, allocations: 12 kB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.4702, allocations: 4 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.4706, allocations: 165.6 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.4719, allocations: 0.6361 MB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.4723, allocations: 142.5 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.4725, allocations: 100.8 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.4726, allocations: 7.984 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.4726, allocations: 30.56 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.4726, allocations: 0 / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006719/0.4733, allocations: 255.6 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.4733, allocations: 55.34 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.4739, allocations: 397.7 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.4739, allocations: 29.7 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.4741, allocations: 208.3 kB / 1.337 GB, free: 7.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.4742, allocations: 71.36 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.4743, allocations: 29.72 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4745, allocations: 346.8 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.4747, allocations: 55.97 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.4748, allocations: 59.97 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.4751, allocations: 138.5 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4751, allocations: 0 / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003942/0.4755, allocations: 203.1 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4755, allocations: 4 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.4756, allocations: 7.938 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.4756, allocations: 4 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.4759, allocations: 63.83 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4759, allocations: 0 / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.476, allocations: 15.95 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.476, allocations: 0 / 1.338 GB, free: 6.141 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 (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.000204/0.4762, allocations: 170.3 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.4763, allocations: 31.77 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.4764, allocations: 39.41 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.4764, allocations: 11.94 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4764, allocations: 3.984 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4764, allocations: 0 / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.4768, allocations: 265.1 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4768, allocations: 0 / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.477, allocations: 55.95 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.477, allocations: 4 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4771, allocations: 0 / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.4771, allocations: 0 / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4771, allocations: 3.938 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.4778, allocations: 384.5 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.4779, allocations: 43.73 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.4779, allocations: 0 / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.478, allocations: 11.98 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.4781, allocations: 15.91 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4781, allocations: 8 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003592/0.4785, allocations: 287.2 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4785, allocations: 0 / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003173/0.4788, allocations: 75.95 kB / 1.339 GB, free: 4.703 MB / 1.029 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.000169/0.479, allocations: 107.2 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.4793, allocations: 127.9 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4794, allocations: 0 / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.4795, allocations: 79.8 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.4801, allocations: 91.7 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.4816, allocations: 0.787 MB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.4818, allocations: 194.2 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.4819, allocations: 27.42 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4819, allocations: 3.938 kB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of Templates: time 0.007342/0.4893, allocations: 4.332 MB / 1.344 GB, free: 14.94 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.629998355638236]