Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001328/0.001328, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001441/0.001441, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.461/1.461, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.89 kB / 1.109 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7339, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005082/0.7389, allocations: 3.086 MB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.7424, allocations: 2.155 MB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.7427, allocations: 8 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.7444, allocations: 0.4931 MB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.7448, allocations: 150.9 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.745, allocations: 63.88 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.7457, allocations: 449.9 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.7459, allocations: 107.2 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.7462, allocations: 159.4 kB / 1.281 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.7465, allocations: 183.1 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.7466, allocations: 32 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.7467, allocations: 36 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.7468, allocations: 103.6 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.747, allocations: 218.9 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.7477, allocations: 0.5447 MB / 1.282 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7477, allocations: 4 kB / 1.282 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7477, allocations: 0 / 1.282 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.7477, allocations: 0 / 1.282 GB, free: 12.72 MB / 0.9825 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.001292/0.749, allocations: 0.7121 MB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7491, allocations: 12.03 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.7492, allocations: 44.66 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.7498, allocations: 382.4 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.7498, allocations: 12.81 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.7499, allocations: 24.38 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.7503, allocations: 203.6 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.7503, allocations: 8 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.7504, allocations: 4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.7504, allocations: 4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.7508, allocations: 165.7 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.7521, allocations: 0.8703 MB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.7525, allocations: 150.5 kB / 1.284 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.7527, allocations: 99.77 kB / 1.284 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.7527, allocations: 4.312 kB / 1.284 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.7527, allocations: 38.5 kB / 1.284 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.7527, allocations: 0 / 1.284 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0006652/0.7534, allocations: 262.6 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.7534, allocations: 51.41 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.754, allocations: 425.6 kB / 1.285 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.754, allocations: 25.7 kB / 1.285 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.7542, allocations: 212.4 kB / 1.285 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.523e-05/0.7543, allocations: 63.42 kB / 1.285 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.7543, allocations: 29.72 kB / 1.285 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7545, allocations: 346.8 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.7547, allocations: 59.97 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.7548, allocations: 59.89 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.7551, allocations: 143.1 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7551, allocations: 0 / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000427/0.7556, allocations: 205.4 kB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.7556, allocations: 10.03 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7556, allocations: 3.984 kB / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7556, allocations: 3.938 kB / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.7559, allocations: 55.91 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7559, allocations: 4 kB / 1.286 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.756, allocations: 23.88 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.756, allocations: 4 kB / 1.286 GB, free: 7.824 MB / 0.9825 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.0001827/0.7562, allocations: 157.8 kB / 1.286 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.7563, allocations: 39.75 kB / 1.286 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.7564, allocations: 47.52 kB / 1.286 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.7564, allocations: 4 kB / 1.286 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7564, allocations: 0 / 1.286 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7564, allocations: 0 / 1.286 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.7568, allocations: 373.4 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7568, allocations: 3.938 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.7571, allocations: 59.95 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7571, allocations: 0 / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.7571, allocations: 3.938 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.7571, allocations: 4 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7571, allocations: 0 / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.7578, allocations: 385 kB / 1.287 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.758, allocations: 120.8 kB / 1.287 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.758, allocations: 7.938 kB / 1.287 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.7582, allocations: 8 kB / 1.287 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.7582, allocations: 15.92 kB / 1.287 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.7582, allocations: 7.938 kB / 1.287 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003666/0.7586, allocations: 303.1 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7586, allocations: 4.062 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003327/0.7589, allocations: 75.89 kB / 1.288 GB, free: 6.148 MB / 0.9825 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.0001377/0.7591, allocations: 99.78 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.7595, allocations: 143.8 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7595, allocations: 0 / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.7597, allocations: 73.78 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.7602, allocations: 94.73 kB / 1.288 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.7616, allocations: 0.7758 MB / 1.289 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.7621, allocations: 0.7989 MB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.7623, allocations: 42.89 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.7623, allocations: 23.44 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.7623, allocations: 3.938 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of Templates: time 0.009719/0.772, allocations: 4.062 MB / 1.294 GB, free: 88 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.455883476883173]