Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001194/0.001194, allocations: 76.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.001262/0.001262, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9056/0.9056, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.83/1.83, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.906e-05, allocations: 5.234 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003672/0.003701, allocations: 3.811 MB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002228/0.00593, allocations: 2.226 MB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.006124, allocations: 12 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.007199, allocations: 0.5167 MB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.007474, allocations: 257.8 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.007627, allocations: 139.8 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.008173, allocations: 0.851 MB / 1.009 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.008442, allocations: 223 kB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.008854, allocations: 467 kB / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.009077, allocations: 231.3 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.009136, allocations: 80 kB / 1.01 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.009203, allocations: 75.94 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.009323, allocations: 171.4 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.009501, allocations: 267.4 kB / 1.01 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.01014, allocations: 0.9969 MB / 1.011 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.01014, allocations: 4 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01014, allocations: 0 / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.577e-06/0.01015, allocations: 0 / 1.011 GB, free: 2.605 MB / 0.9636 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.0009275/0.01108, allocations: 0.8743 MB / 1.012 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.01112, allocations: 16.75 kB / 1.012 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.0112, allocations: 80.47 kB / 1.012 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.01164, allocations: 391.5 kB / 1.012 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.01166, allocations: 37.38 kB / 1.012 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.01171, allocations: 52.33 kB / 1.012 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.01219, allocations: 423 kB / 1.013 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.0122, allocations: 192 / 1.013 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.01223, allocations: 20.38 kB / 1.013 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01224, allocations: 23.88 kB / 1.013 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.01269, allocations: 359.8 kB / 1.013 GB, free: 304 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.01392, allocations: 1.168 MB / 1.014 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.01426, allocations: 311.2 kB / 1.015 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.01457, allocations: 286.9 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.01459, allocations: 4 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.01461, allocations: 42.55 kB / 1.015 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.01461, allocations: 4 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.0005868/0.0152, allocations: 489.3 kB / 1.015 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.01523, allocations: 59.34 kB / 1.015 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.01557, allocations: 442 kB / 1.016 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.01559, allocations: 29.7 kB / 1.016 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01572, allocations: 284.5 kB / 1.016 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.0158, allocations: 147.4 kB / 1.016 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01586, allocations: 62.08 kB / 1.016 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.01597, allocations: 366.8 kB / 1.017 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.01612, allocations: 124.6 kB / 1.017 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01626, allocations: 125.5 kB / 1.017 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.01658, allocations: 298.1 kB / 1.017 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01659, allocations: 0 / 1.017 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003978/0.01698, allocations: 396.5 kB / 1.018 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.017, allocations: 8 kB / 1.018 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.017, allocations: 0 / 1.018 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01701, allocations: 4 kB / 1.018 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.01729, allocations: 127.8 kB / 1.018 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.0173, allocations: 3.938 kB / 1.018 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-05/0.0174, allocations: 27.83 kB / 1.018 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01741, allocations: 16 kB / 1.018 GB, free: 11.43 MB / 0.9792 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.0001485/0.01756, allocations: 193.8 kB / 1.018 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.01761, allocations: 51.66 kB / 1.018 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.01767, allocations: 60.8 kB / 1.018 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01767, allocations: 4 kB / 1.018 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.01768, allocations: 3.938 kB / 1.018 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01768, allocations: 7.984 kB / 1.018 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.01802, allocations: 420.9 kB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01802, allocations: 0 / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.01829, allocations: 123.9 kB / 1.019 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01829, allocations: 8 kB / 1.019 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01831, allocations: 4 kB / 1.019 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01831, allocations: 4 kB / 1.019 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01831, allocations: 0 / 1.019 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.01893, allocations: 0.6445 MB / 1.019 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.01899, allocations: 55.64 kB / 1.019 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.01902, allocations: 8 kB / 1.019 GB, free: 9.805 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01912, allocations: 15.98 kB / 1.019 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.01916, allocations: 31.89 kB / 1.019 GB, free: 9.758 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.01917, allocations: 11.94 kB / 1.019 GB, free: 9.746 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002286/0.0194, allocations: 319.1 kB / 1.02 GB, free: 9.438 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.0194, allocations: 0 / 1.02 GB, free: 9.438 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002474/0.01965, allocations: 143.7 kB / 1.02 GB, free: 9.297 MB / 0.9792 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 8.789e-05/0.01974, allocations: 123.1 kB / 1.02 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.0201, allocations: 303.5 kB / 1.02 GB, free: 8.871 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02011, allocations: 4 kB / 1.02 GB, free: 8.867 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.02028, allocations: 163.8 kB / 1.02 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.02064, allocations: 99.7 kB / 1.021 GB, free: 8.613 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.02181, allocations: 1.131 MB / 1.022 GB, free: 7.441 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.02198, allocations: 263.2 kB / 1.022 GB, free: 7.156 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.02207, allocations: 36.5 kB / 1.022 GB, free: 7.121 MB / 0.9792 GB Notification: Performance of SimCode: time 6.52e-07/0.02207, allocations: 4 kB / 1.022 GB, free: 7.117 MB / 0.9792 GB Notification: Performance of Templates: time 0.005821/0.02789, allocations: 6.714 MB / 1.028 GB, free: 456 kB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.192627428099513]