Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008719/0.0008719, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008689/0.0008689, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8921/0.8921, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.71e-07/6.71e-07, allocations: 0 / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.923e-05, allocations: 10.02 kB / 0.9518 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00343/0.003449, allocations: 3.809 MB / 0.9555 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.005448, allocations: 2.234 MB / 0.9577 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.005614, allocations: 12 kB / 0.9577 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.006487, allocations: 0.5011 MB / 0.9582 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.006743, allocations: 257.8 kB / 0.9584 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.006885, allocations: 143.8 kB / 0.9586 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005335/0.007419, allocations: 0.8444 MB / 0.9594 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.007683, allocations: 219 kB / 0.9596 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.008057, allocations: 462.9 kB / 0.9601 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.008266, allocations: 243.3 kB / 0.9603 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.008323, allocations: 72 kB / 0.9604 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.008384, allocations: 76 kB / 0.9604 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.008498, allocations: 171.4 kB / 0.9606 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.008658, allocations: 267.4 kB / 0.9608 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.009282, allocations: 1.001 MB / 0.9618 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.009284, allocations: 0 / 0.9618 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.51e-07/0.009285, allocations: 0 / 0.9618 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.009292, allocations: 0 / 0.9618 GB, free: 8.59 MB / 0.9167 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.0009618/0.01025, allocations: 0.886 MB / 0.9627 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.01028, allocations: 8.031 kB / 0.9627 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.01036, allocations: 80.47 kB / 0.9628 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.01077, allocations: 399.5 kB / 0.9632 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.01079, allocations: 37.38 kB / 0.9632 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.01084, allocations: 52.31 kB / 0.9632 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.01131, allocations: 431 kB / 0.9636 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.01133, allocations: 4.141 kB / 0.9637 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.01135, allocations: 24.38 kB / 0.9637 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.01136, allocations: 15.94 kB / 0.9637 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.0118, allocations: 363.8 kB / 0.964 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01299, allocations: 1.172 MB / 0.9652 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.01332, allocations: 319 kB / 0.9655 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.01363, allocations: 283.4 kB / 0.9658 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.01365, allocations: 4 kB / 0.9658 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.01367, allocations: 46.56 kB / 0.9658 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=42): time 1.342e-06/0.01367, allocations: 0 / 0.9658 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.0005828/0.01425, allocations: 489.5 kB / 0.9663 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.01428, allocations: 63.28 kB / 0.9663 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.0146, allocations: 445.9 kB / 0.9668 GB, free: 3.387 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01462, allocations: 29.7 kB / 0.9668 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.01475, allocations: 284.5 kB / 0.9671 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.01484, allocations: 154.6 kB / 0.9672 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.0149, allocations: 66.08 kB / 0.9673 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.015, allocations: 358.8 kB / 0.9676 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.01515, allocations: 116.7 kB / 0.9677 GB, free: 2.363 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.01529, allocations: 129.2 kB / 0.9678 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.01561, allocations: 294.4 kB / 0.9681 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01561, allocations: 0 / 0.9681 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003891/0.016, allocations: 388.6 kB / 0.9685 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01601, allocations: 8 kB / 0.9685 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.01602, allocations: 0 / 0.9685 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.01603, allocations: 3.938 kB / 0.9685 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.0163, allocations: 127.8 kB / 0.9686 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.01631, allocations: 4 kB / 0.9686 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.0164, allocations: 31.83 kB / 0.9687 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01641, allocations: 4 kB / 0.9687 GB, free: 1.387 MB / 0.9167 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.0001404/0.01655, allocations: 205.7 kB / 0.9689 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.0166, allocations: 51.67 kB / 0.9689 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.01665, allocations: 56.88 kB / 0.969 GB, free: 1.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01666, allocations: 4 kB / 0.969 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01666, allocations: 3.938 kB / 0.969 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01667, allocations: 3.984 kB / 0.969 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.01707, allocations: 416.9 kB / 0.9694 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01708, allocations: 7.922 kB / 0.9694 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.01734, allocations: 127.9 kB / 0.9695 GB, free: 500 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01734, allocations: 0 / 0.9695 GB, free: 500 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.01736, allocations: 15.94 kB / 0.9695 GB, free: 484 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01736, allocations: 0 / 0.9695 GB, free: 484 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01736, allocations: 4 kB / 0.9695 GB, free: 480 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.01799, allocations: 0.6518 MB / 0.9702 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.01804, allocations: 59.69 kB / 0.9702 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.01807, allocations: 8 kB / 0.9702 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.01817, allocations: 12 kB / 0.9702 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.01822, allocations: 31.88 kB / 0.9703 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01823, allocations: 12 kB / 0.9703 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002259/0.01845, allocations: 319.1 kB / 0.9706 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.01846, allocations: 0 / 0.9706 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002436/0.0187, allocations: 147.6 kB / 0.9707 GB, free: 15.23 MB / 0.9323 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.0001023/0.0188, allocations: 115.2 kB / 0.9708 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.01916, allocations: 300 kB / 0.9711 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01916, allocations: 0 / 0.9711 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.01933, allocations: 171.8 kB / 0.9713 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.01968, allocations: 99.42 kB / 0.9714 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.02083, allocations: 1.119 MB / 0.9725 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.021, allocations: 271.2 kB / 0.9727 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.02109, allocations: 40.5 kB / 0.9728 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of SimCode: time 4.71e-07/0.02109, allocations: 3.938 kB / 0.9728 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of Templates: time 0.005793/0.02688, allocations: 6.724 MB / 0.9793 GB, free: 6.387 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.726692890748382]