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.002175/0.002175, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.003016/0.003016, allocations: 161.7 kB / 23.55 MB, free: 0.8633 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 1.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.828/2.828, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 1.563e-06/1.563e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.828e-05, allocations: 7.406 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006622/0.006651, allocations: 3.829 MB / 0.7902 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.01114, allocations: 2.224 MB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005703/0.01171, allocations: 15.94 kB / 0.7924 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.01378, allocations: 0.4995 MB / 0.7929 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.01494, allocations: 265.7 kB / 0.7931 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.01534, allocations: 139.8 kB / 0.7932 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.01672, allocations: 0.8405 MB / 0.7941 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.01722, allocations: 224.4 kB / 0.7943 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009592/0.01818, allocations: 459 kB / 0.7947 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.01865, allocations: 239.3 kB / 0.7949 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.01878, allocations: 76.56 kB / 0.795 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.01894, allocations: 76 kB / 0.7951 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.01915, allocations: 173 kB / 0.7953 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.01961, allocations: 271.4 kB / 0.7955 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.02091, allocations: 0.993 MB / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.02091, allocations: 0 / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.412e-06/0.02092, allocations: 0.9062 kB / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.056e-05/0.02096, allocations: 0 / 0.7965 GB, free: 2.461 MB / 0.7448 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.002137/0.02309, allocations: 0.8832 MB / 0.7973 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.02314, allocations: 8.031 kB / 0.7974 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.02342, allocations: 117.6 kB / 0.7975 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009163/0.02433, allocations: 403.5 kB / 0.7978 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.02438, allocations: 34.19 kB / 0.7979 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.02449, allocations: 56.31 kB / 0.7979 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.02546, allocations: 424 kB / 0.7983 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.02548, allocations: 192 / 0.7983 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.02553, allocations: 25.66 kB / 0.7984 GB, free: 492 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.02555, allocations: 15.94 kB / 0.7984 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/0.0264, allocations: 368.7 kB / 0.7987 GB, free: 108 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.02879, allocations: 1.189 MB / 0.7999 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.02958, allocations: 311.4 kB / 0.8002 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.03015, allocations: 293.1 kB / 0.8005 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.03019, allocations: 4.594 kB / 0.8005 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.03024, allocations: 46.34 kB / 0.8005 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.03024, allocations: 0.5 kB / 0.8005 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.001208/0.03144, allocations: 0.5018 MB / 0.801 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.0315, allocations: 60.41 kB / 0.8011 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000667/0.03217, allocations: 434 kB / 0.8015 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.03221, allocations: 34.77 kB / 0.8015 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.0325, allocations: 280.5 kB / 0.8018 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.03269, allocations: 155.4 kB / 0.8019 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.03282, allocations: 63.42 kB / 0.802 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002389/0.03306, allocations: 362.7 kB / 0.8023 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.03338, allocations: 120.7 kB / 0.8024 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.03366, allocations: 126.1 kB / 0.8026 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.03426, allocations: 295.7 kB / 0.8029 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.03427, allocations: 0 / 0.8029 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008166/0.03508, allocations: 410.7 kB / 0.8032 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.0351, allocations: 4 kB / 0.8032 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.03512, allocations: 4 kB / 0.8033 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.03515, allocations: 7.938 kB / 0.8033 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.0357, allocations: 130.9 kB / 0.8034 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.03572, allocations: 0 / 0.8034 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.03596, allocations: 27.83 kB / 0.8034 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.03598, allocations: 12 kB / 0.8034 GB, free: 11.21 MB / 0.7605 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.0002787/0.03626, allocations: 189.8 kB / 0.8036 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.03638, allocations: 64.61 kB / 0.8037 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.03651, allocations: 56.86 kB / 0.8037 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.03652, allocations: 11.94 kB / 0.8037 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.03653, allocations: 1.125 kB / 0.8037 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.03653, allocations: 3.984 kB / 0.8037 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.03726, allocations: 420.9 kB / 0.8041 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.03726, allocations: 1.094 kB / 0.8041 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.03783, allocations: 124.9 kB / 0.8043 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.03784, allocations: 0 / 0.8043 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.03787, allocations: 8 kB / 0.8043 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.03787, allocations: 0.7812 kB / 0.8043 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.03788, allocations: 3.938 kB / 0.8043 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.03908, allocations: 0.6682 MB / 0.8049 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.0392, allocations: 55.69 kB / 0.805 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.03926, allocations: 4 kB / 0.805 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.03948, allocations: 15.98 kB / 0.805 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.03957, allocations: 27.89 kB / 0.805 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.03959, allocations: 15.94 kB / 0.805 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004461/0.04004, allocations: 315.1 kB / 0.8053 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.04004, allocations: 4 kB / 0.8053 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004929/0.04053, allocations: 147.6 kB / 0.8055 GB, free: 9.043 MB / 0.7605 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.0001916/0.04072, allocations: 119.2 kB / 0.8056 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006939/0.04142, allocations: 296 kB / 0.8059 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.04142, allocations: 0 / 0.8059 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.04176, allocations: 175.5 kB / 0.806 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006662/0.04242, allocations: 98.89 kB / 0.8061 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.0448, allocations: 1.107 MB / 0.8072 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.04514, allocations: 271.2 kB / 0.8075 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.04533, allocations: 39.39 kB / 0.8075 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.04544, allocations: 36.5 kB / 0.8075 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of SimCode: time 8.72e-07/0.04544, allocations: 4 kB / 0.8076 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of Templates: time 0.0123/0.05774, allocations: 4.984 MB / 0.8124 GB, free: 2.027 MB / 0.7605 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: 8.522722232970409]