Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 108.8 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.846/2.846, allocations: 437.1 MB / 0.7177 GB, free: 4.789 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 63.91 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005036/0.3308, allocations: 3.034 MB / 1.179 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.3342, allocations: 2.148 MB / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003973/0.3346, allocations: 8 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.3364, allocations: 0.5016 MB / 1.181 GB, free: 164 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.337, allocations: 146.8 kB / 1.182 GB, free: 16 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.3372, allocations: 52.03 kB / 1.182 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007146/0.3379, allocations: 453.2 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.3382, allocations: 159.2 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.3386, allocations: 155.4 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.3389, allocations: 183.1 kB / 1.183 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.339, allocations: 32 kB / 1.183 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3391, allocations: 36 kB / 1.183 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3393, allocations: 95.67 kB / 1.183 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.3396, allocations: 218.9 kB / 1.183 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.3403, allocations: 0.5485 MB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3403, allocations: 0 / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3403, allocations: 0 / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.3403, allocations: 11.98 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001324/0.3416, allocations: 0.7043 MB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3417, allocations: 12.03 kB / 1.184 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3418, allocations: 44.66 kB / 1.184 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.3425, allocations: 390.4 kB / 1.185 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3425, allocations: 16.81 kB / 1.185 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.3426, allocations: 24.38 kB / 1.185 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.343, allocations: 199.5 kB / 1.185 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3431, allocations: 4 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3431, allocations: 8 kB / 1.185 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3431, allocations: 4 kB / 1.185 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.3435, allocations: 177.6 kB / 1.185 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3449, allocations: 0.8509 MB / 1.186 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.3452, allocations: 158.5 kB / 1.186 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.3454, allocations: 112.8 kB / 1.186 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3455, allocations: 0 / 1.186 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3455, allocations: 38.55 kB / 1.186 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.3455, allocations: 0 / 1.186 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.000653/0.3462, allocations: 267.3 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3462, allocations: 51.41 kB / 1.186 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.3468, allocations: 413.7 kB / 1.187 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3468, allocations: 29.7 kB / 1.187 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.347, allocations: 212.3 kB / 1.187 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.347, allocations: 67.44 kB / 1.187 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.3471, allocations: 33.7 kB / 1.187 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3473, allocations: 350.8 kB / 1.187 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3474, allocations: 51.97 kB / 1.188 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3476, allocations: 59.97 kB / 1.188 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.3479, allocations: 131.2 kB / 1.188 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3479, allocations: 0 / 1.188 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003998/0.3483, allocations: 213.3 kB / 1.188 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3483, allocations: 8 kB / 1.188 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3483, allocations: 0 / 1.188 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3484, allocations: 3.938 kB / 1.188 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3486, allocations: 51.97 kB / 1.188 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3486, allocations: 7.984 kB / 1.188 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3488, allocations: 23.83 kB / 1.188 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3488, allocations: 4 kB / 1.188 GB, free: 9.195 MB / 0.9356 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 (20): * Single equations (assignments): 20 * 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.0001611/0.349, allocations: 169.8 kB / 1.188 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.349, allocations: 35.77 kB / 1.188 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.3491, allocations: 43.53 kB / 1.188 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3491, allocations: 4 kB / 1.188 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3491, allocations: 4 kB / 1.188 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3491, allocations: 0 / 1.188 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.3496, allocations: 377.3 kB / 1.189 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3496, allocations: 0 / 1.189 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.3499, allocations: 59.91 kB / 1.189 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3499, allocations: 4 kB / 1.189 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3499, allocations: 3.938 kB / 1.189 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3499, allocations: 0 / 1.189 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3499, allocations: 4 kB / 1.189 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.3506, allocations: 374.9 kB / 1.189 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3507, allocations: 124.8 kB / 1.189 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.3507, allocations: 11.94 kB / 1.189 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3509, allocations: 19.97 kB / 1.189 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3509, allocations: 7.984 kB / 1.189 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.351, allocations: 4 kB / 1.189 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003344/0.3513, allocations: 299.2 kB / 1.189 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3513, allocations: 3.938 kB / 1.189 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003058/0.3516, allocations: 71.89 kB / 1.19 GB, free: 7.516 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001515/0.3518, allocations: 119.2 kB / 1.19 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.3522, allocations: 143.8 kB / 1.19 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3522, allocations: 0 / 1.19 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.3523, allocations: 79.89 kB / 1.19 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.3529, allocations: 87.39 kB / 1.19 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3542, allocations: 0.7932 MB / 1.191 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.3547, allocations: 0.8028 MB / 1.192 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.3547, allocations: 27.38 kB / 1.192 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3547, allocations: 0 / 1.192 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.006959/0.3617, allocations: 4.4 MB / 1.196 GB, free: 1.055 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 11.488205682020634]