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.001932/0.001932, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.00214/0.00214, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.655/1.655, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.93/2.93, allocations: 359 MB / 0.6048 GB, free: 10.96 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.513e-06/1.513e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.375e-05/3.527e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006612/0.006647, allocations: 4.222 MB / 0.7906 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.01134, allocations: 2.404 MB / 0.7929 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.01171, allocations: 15.94 kB / 0.7929 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.0135, allocations: 0.5005 MB / 0.7934 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006335/0.01414, allocations: 260.3 kB / 0.7937 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.01443, allocations: 143.8 kB / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.01553, allocations: 0.8487 MB / 0.7946 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.01598, allocations: 223 kB / 0.7948 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007774/0.01676, allocations: 459 kB / 0.7953 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.01719, allocations: 247.3 kB / 0.7955 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.01731, allocations: 76 kB / 0.7956 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.01744, allocations: 74.31 kB / 0.7957 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.01766, allocations: 175.4 kB / 0.7958 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.01802, allocations: 275.4 kB / 0.7961 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.01929, allocations: 1.001 MB / 0.7971 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.0193, allocations: 0 / 0.7971 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/0.0193, allocations: 0 / 0.7971 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.01931, allocations: 0.5 kB / 0.7971 GB, free: 1.883 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.00195/0.02126, allocations: 1.049 MB / 0.7981 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.02131, allocations: 12.03 kB / 0.7981 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.02154, allocations: 117.4 kB / 0.7982 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.02231, allocations: 403 kB / 0.7986 GB, free: 264 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.02235, allocations: 33.38 kB / 0.7986 GB, free: 232 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.02244, allocations: 49.44 kB / 0.7987 GB, free: 184 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008546/0.02329, allocations: 411.1 kB / 0.7991 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.02332, allocations: 4.969 kB / 0.7991 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.02351, allocations: 20.38 kB / 0.7991 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.02352, allocations: 15.94 kB / 0.7991 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.02425, allocations: 344.6 kB / 0.7994 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.02692, allocations: 1.56 MB / 0.801 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.02752, allocations: 327.8 kB / 0.8013 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.02804, allocations: 293 kB / 0.8016 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.02808, allocations: 11.78 kB / 0.8016 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.02812, allocations: 42.44 kB / 0.8016 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 2.665e-06/0.02812, allocations: 0 / 0.8016 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.001009/0.02913, allocations: 477.9 kB / 0.8021 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.02919, allocations: 63.34 kB / 0.8021 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.02992, allocations: 0.5495 MB / 0.8027 GB, free: 12 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.02996, allocations: 31.05 kB / 0.8027 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.03028, allocations: 355.3 kB / 0.803 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.03046, allocations: 162.7 kB / 0.8032 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.0306, allocations: 87.67 kB / 0.8033 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003734/0.03097, allocations: 0.5683 MB / 0.8038 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.03121, allocations: 112.7 kB / 0.8039 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.03145, allocations: 121.2 kB / 0.804 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.032, allocations: 298.4 kB / 0.8043 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.032, allocations: 0 / 0.8043 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007528/0.03275, allocations: 396.6 kB / 0.8047 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.03277, allocations: 5.094 kB / 0.8047 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.03278, allocations: 0 / 0.8047 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.0328, allocations: 0 / 0.8047 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.03335, allocations: 137.6 kB / 0.8048 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.03336, allocations: 8 kB / 0.8049 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.0336, allocations: 27.78 kB / 0.8049 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.03363, allocations: 8 kB / 0.8049 GB, free: 9.684 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.0003091/0.03394, allocations: 232.5 kB / 0.8051 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.03404, allocations: 55.72 kB / 0.8052 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.03418, allocations: 56.88 kB / 0.8052 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.03419, allocations: 7.938 kB / 0.8052 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.03421, allocations: 3.938 kB / 0.8052 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.03421, allocations: 3.984 kB / 0.8052 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008827/0.0351, allocations: 0.5393 MB / 0.8058 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.0351, allocations: 4 kB / 0.8058 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.03564, allocations: 123.9 kB / 0.8059 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.03565, allocations: 4 kB / 0.8059 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.03567, allocations: 4 kB / 0.8059 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.03567, allocations: 4 kB / 0.8059 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.03568, allocations: 0 / 0.8059 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.03691, allocations: 0.6993 MB / 0.8066 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.03702, allocations: 55.53 kB / 0.8066 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.03708, allocations: 16 kB / 0.8066 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.03728, allocations: 8 kB / 0.8067 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.03737, allocations: 31.88 kB / 0.8067 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.03739, allocations: 12 kB / 0.8067 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000467/0.03785, allocations: 363 kB / 0.807 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.03785, allocations: 0 / 0.807 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004771/0.03833, allocations: 147.7 kB / 0.8072 GB, free: 7.27 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.000186/0.03852, allocations: 111.2 kB / 0.8073 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006481/0.03917, allocations: 319.4 kB / 0.8076 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03917, allocations: 4 kB / 0.8076 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.03949, allocations: 191.2 kB / 0.8078 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.0401, allocations: 107.6 kB / 0.8079 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.04225, allocations: 1.106 MB / 0.809 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.04258, allocations: 271.1 kB / 0.8092 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.04277, allocations: 43.38 kB / 0.8093 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.04289, allocations: 36.5 kB / 0.8093 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of SimCode: time 1.423e-06/0.04289, allocations: 0 / 0.8093 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of Templates: time 0.2733/0.3162, allocations: 4.986 MB / 0.8142 GB, free: 204 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] 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: 10.369173977989703]