Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001852/0.001852, 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.002024/0.002024, 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 3.102/3.102, allocations: 359 MB / 0.6048 GB, free: 10.95 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.776e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002808/0.002836, allocations: 1.51 MB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.004463, allocations: 0.9097 MB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.004523, allocations: 5.344 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.004929, allocations: 43.77 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.004963, allocations: 15.8 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.005492, allocations: 195.9 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.005598, allocations: 51.67 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.755e-05/0.005625, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.00573, allocations: 27.92 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.762e-05/0.005757, allocations: 7.984 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.005771, allocations: 6.375 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.006207, allocations: 175.6 kB / 0.7893 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.006222, allocations: 7.938 kB / 0.7893 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.006249, allocations: 12 kB / 0.7893 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.00654, allocations: 151.5 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006542, allocations: 0 / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.337e-06/0.006545, allocations: 4.625 kB / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.006549, allocations: 0 / 0.7894 GB, free: 9.688 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004618/0.00701, allocations: 397.5 kB / 0.7898 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.007044, allocations: 11.97 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/0.007144, allocations: 128.1 kB / 0.79 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.007391, allocations: 248.5 kB / 0.7902 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.00752, allocations: 242.8 kB / 0.7904 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.007641, allocations: 239.5 kB / 0.7907 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.007745, allocations: 145.5 kB / 0.7908 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.206e-05/0.007807, allocations: 124.9 kB / 0.7909 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.007927, allocations: 238.8 kB / 0.7911 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.008057, allocations: 246.3 kB / 0.7914 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.008182, allocations: 246.3 kB / 0.7916 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.008614, allocations: 0.5898 MB / 0.7922 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.008784, allocations: 265.4 kB / 0.7924 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.171e-05/0.008856, allocations: 130.9 kB / 0.7926 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.008921, allocations: 119.2 kB / 0.7927 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.935e-05/0.00901, allocations: 156.6 kB / 0.7928 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.009011, allocations: 3.938 kB / 0.7928 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.907e-05/0.0091, allocations: 30.42 kB / 0.7929 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.009203, allocations: 178.5 kB / 0.793 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.009407, allocations: 200.7 kB / 0.7932 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.009425, allocations: 27.36 kB / 0.7932 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.009518, allocations: 138.9 kB / 0.7934 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.00952, allocations: 0 / 0.7934 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.009565, allocations: 27.36 kB / 0.7934 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002562/0.009821, allocations: 492.1 kB / 0.7939 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.009842, allocations: 8.594 kB / 0.7939 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.009867, allocations: 9.312 kB / 0.7939 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.009913, allocations: 19.61 kB / 0.7939 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009915, allocations: 0 / 0.7939 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.01005, allocations: 49.66 kB / 0.794 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01006, allocations: 5.156 kB / 0.794 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.01008, allocations: 0 / 0.794 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.01009, allocations: 0 / 0.794 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-06/0.01009, allocations: 5.375 kB / 0.794 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.0101, allocations: 7.922 kB / 0.794 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.01012, allocations: 3.938 kB / 0.794 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.01013, allocations: 1.75 kB / 0.794 GB, free: 4.84 MB / 0.7448 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001711/0.0103, allocations: 275.8 kB / 0.7942 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.01041, allocations: 160.8 kB / 0.7944 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-05/0.0105, allocations: 152.8 kB / 0.7945 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001399/0.01064, allocations: 273.3 kB / 0.7948 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/0.01078, allocations: 272 kB / 0.7951 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001425/0.01092, allocations: 264.1 kB / 0.7953 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.01127, allocations: 0.4998 MB / 0.7958 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.18e-05/0.01135, allocations: 149.5 kB / 0.7959 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.01163, allocations: 152.8 kB / 0.7961 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.01177, allocations: 268.9 kB / 0.7963 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.01191, allocations: 268.1 kB / 0.7966 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001334/0.01204, allocations: 273.5 kB / 0.7969 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001331/0.01217, allocations: 264.1 kB / 0.7971 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.01244, allocations: 451.9 kB / 0.7975 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.01253, allocations: 157.1 kB / 0.7977 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.01268, allocations: 273 kB / 0.798 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.01281, allocations: 144.9 kB / 0.7981 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.01296, allocations: 276 kB / 0.7984 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.01304, allocations: 152.2 kB / 0.7985 GB, free: 16 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001237/0.01316, allocations: 147.2 kB / 0.7986 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.01316, allocations: 0 / 0.7986 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002784/0.01344, allocations: 31.88 kB / 0.7987 GB, free: 15.84 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003447/0.01378, allocations: 262.2 kB / 0.7989 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.01389, allocations: 49.38 kB / 0.799 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0139, allocations: 3.938 kB / 0.799 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.0139, allocations: 0.5 kB / 0.799 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.01452, allocations: 0.7159 MB / 0.7997 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.01489, allocations: 271.5 kB / 0.7999 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.026e-05/0.01497, allocations: 80.11 kB / 0.8 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.015, allocations: 8.781 kB / 0.8 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.01502, allocations: 15.31 kB / 0.8 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.01502, allocations: 0 / 0.8 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of Templates: time 0.005027/0.02005, allocations: 1.604 MB / 0.8016 GB, free: 12.82 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: 7.988564196974039]