Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.0009654/0.0009654, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.002085, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001393/0.001393, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002956, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9193/0.9193, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0762/0.9955, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.266/2.266, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2095/2.475, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.236e-05, allocations: 8.562 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002875/0.002897, allocations: 1.538 MB / 0.8205 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003831/0.006728, allocations: 2.8 MB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.445e-05/0.006763, allocations: 4 kB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.006775, allocations: 3.938 kB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.539e-05/0.006811, allocations: 11.88 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.009028, allocations: 1.526 MB / 0.8247 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.009099, allocations: 43.69 kB / 0.8248 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.009132, allocations: 7.984 kB / 0.8248 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.009184, allocations: 36.8 kB / 0.8248 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.06e-05/0.009205, allocations: 11.98 kB / 0.8248 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.009215, allocations: 0 / 0.8248 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.01085, allocations: 1.513 MB / 0.8263 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.01087, allocations: 3.938 kB / 0.8263 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.01089, allocations: 8 kB / 0.8263 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.01211, allocations: 1.037 MB / 0.8273 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.01212, allocations: 3.984 kB / 0.8273 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01212, allocations: 0 / 0.8273 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.01213, allocations: 0 / 0.8273 GB, free: 9.848 MB / 0.8073 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.0004516/0.01259, allocations: 0.5256 MB / 0.8278 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.01261, allocations: 11.97 kB / 0.8279 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.01265, allocations: 80.22 kB / 0.8279 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.217e-05/0.01275, allocations: 193 kB / 0.8281 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.01278, allocations: 150.9 kB / 0.8283 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.01282, allocations: 150.9 kB / 0.8284 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.302e-05/0.01286, allocations: 109.5 kB / 0.8285 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01288, allocations: 79.47 kB / 0.8286 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.01291, allocations: 158.7 kB / 0.8287 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.01294, allocations: 154.5 kB / 0.8289 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.01297, allocations: 162.5 kB / 0.829 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.0131, allocations: 353.3 kB / 0.8294 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.01316, allocations: 169.1 kB / 0.8295 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.01318, allocations: 80.14 kB / 0.8296 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.0132, allocations: 75.28 kB / 0.8297 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.01323, allocations: 113.8 kB / 0.8298 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.01323, allocations: 3.938 kB / 0.8298 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.582e-05/0.01327, allocations: 29.7 kB / 0.8298 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.01331, allocations: 130.7 kB / 0.83 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.01339, allocations: 136.9 kB / 0.8301 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.0134, allocations: 25.7 kB / 0.8301 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.01343, allocations: 92.11 kB / 0.8302 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-06/0.01343, allocations: 0 / 0.8302 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.01345, allocations: 13.72 kB / 0.8302 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.01352, allocations: 322.8 kB / 0.8305 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.01353, allocations: 0 / 0.8305 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.01354, allocations: 0 / 0.8305 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.01357, allocations: 12.8 kB / 0.8305 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01357, allocations: 4.031 kB / 0.8305 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.317e-05/0.01363, allocations: 45.69 kB / 0.8306 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01364, allocations: 4 kB / 0.8306 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.01366, allocations: 0 / 0.8306 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.01366, allocations: 0 / 0.8306 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.01367, allocations: 0 / 0.8306 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.01367, allocations: 0 / 0.8306 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.01368, allocations: 11.89 kB / 0.8306 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.01369, allocations: 0 / 0.8306 GB, free: 6.344 MB / 0.8073 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 5.898e-05/0.01375, allocations: 185.1 kB / 0.8308 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.01378, allocations: 116.9 kB / 0.8309 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.01381, allocations: 104.8 kB / 0.831 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/0.01385, allocations: 180.3 kB / 0.8311 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.6e-05/0.01389, allocations: 184.2 kB / 0.8313 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/0.01392, allocations: 188.2 kB / 0.8315 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.01404, allocations: 325.4 kB / 0.8318 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.01406, allocations: 105 kB / 0.8319 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.01408, allocations: 112.9 kB / 0.832 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.01411, allocations: 101 kB / 0.8321 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.194e-05/0.01416, allocations: 180.3 kB / 0.8323 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.0142, allocations: 184.4 kB / 0.8325 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.306e-05/0.01424, allocations: 192.3 kB / 0.8327 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.056e-05/0.01428, allocations: 184.2 kB / 0.8328 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.453e-05/0.01438, allocations: 299.8 kB / 0.8331 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.01443, allocations: 188.2 kB / 0.8333 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.01447, allocations: 101 kB / 0.8334 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.01479, allocations: 184.2 kB / 0.8336 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.01481, allocations: 101 kB / 0.8337 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.01484, allocations: 28.83 kB / 0.8337 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01484, allocations: 0 / 0.8337 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005329/0.01537, allocations: 290.9 kB / 0.834 GB, free: 2.707 MB / 0.8073 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.0007432/0.01612, allocations: 0.5774 MB / 0.8345 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.328e-05/0.01619, allocations: 46.48 kB / 0.8346 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.01619, allocations: 0 / 0.8346 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.0162, allocations: 3.938 kB / 0.8346 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.01645, allocations: 0.5619 MB / 0.8351 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.01704, allocations: 242.8 kB / 0.8354 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.01707, allocations: 59.34 kB / 0.8354 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.01709, allocations: 0 / 0.8354 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.01713, allocations: 55.38 kB / 0.8355 GB, free: 1.082 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.01713, allocations: 0 / 0.8355 GB, free: 1.082 MB / 0.8073 GB Notification: Performance of Templates: time 0.007784/0.02491, allocations: 7.06 MB / 0.8424 GB, free: 10.07 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0512764705345035]