Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.002019/0.002019, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002297/0.002297, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.567/1.567, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.964/2.964, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.44e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005649/0.005684, allocations: 2.872 MB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.009657, allocations: 1.959 MB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/0.01008, allocations: 11.94 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.01205, allocations: 472.2 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005612/0.01261, allocations: 156.5 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.01281, allocations: 65.42 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.01381, allocations: 453.7 kB / 0.8167 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.0141, allocations: 107.6 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.0147, allocations: 244.4 kB / 0.817 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.01502, allocations: 131.5 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.0151, allocations: 36 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.01519, allocations: 36.78 kB / 0.8172 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.01534, allocations: 91.67 kB / 0.8173 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.01559, allocations: 148.8 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.01639, allocations: 0.5372 MB / 0.818 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.0164, allocations: 0 / 0.818 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.273e-06/0.0164, allocations: 0.8438 kB / 0.818 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.01642, allocations: 0 / 0.818 GB, free: 10.74 MB / 0.7761 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.001543/0.01796, allocations: 0.6316 MB / 0.8186 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.01801, allocations: 8.031 kB / 0.8186 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.01818, allocations: 62.62 kB / 0.8187 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.01892, allocations: 323.9 kB / 0.819 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.01895, allocations: 16.88 kB / 0.819 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.019, allocations: 22.75 kB / 0.819 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.01949, allocations: 200.7 kB / 0.8192 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.0195, allocations: 4.125 kB / 0.8192 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.01954, allocations: 12.36 kB / 0.8192 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.01955, allocations: 11.94 kB / 0.8192 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.02003, allocations: 163 kB / 0.8194 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.02144, allocations: 0.6466 MB / 0.82 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.0218, allocations: 138.6 kB / 0.8201 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.02205, allocations: 103.9 kB / 0.8202 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.02207, allocations: 5.281 kB / 0.8203 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.02211, allocations: 38.56 kB / 0.8203 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.02211, allocations: 0 / 0.8203 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0007515/0.02286, allocations: 261.7 kB / 0.8205 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.02292, allocations: 55.41 kB / 0.8206 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.0235, allocations: 394.3 kB / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.02353, allocations: 29.7 kB / 0.821 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.02373, allocations: 211.6 kB / 0.8212 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.02383, allocations: 67.42 kB / 0.8213 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.0239, allocations: 29.72 kB / 0.8213 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.02413, allocations: 350.7 kB / 0.8216 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.02431, allocations: 55.97 kB / 0.8217 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.02446, allocations: 53.86 kB / 0.8217 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.02482, allocations: 140.5 kB / 0.8219 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.02482, allocations: 0 / 0.8219 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004771/0.0253, allocations: 211.2 kB / 0.8221 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.02532, allocations: 8 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.02532, allocations: 0.9375 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.02535, allocations: 0 / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.02564, allocations: 61.02 kB / 0.8221 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.02566, allocations: 4 kB / 0.8221 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.02583, allocations: 16.86 kB / 0.8222 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.02585, allocations: 8 kB / 0.8222 GB, free: 6.32 MB / 0.7761 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.0002316/0.02608, allocations: 163.8 kB / 0.8223 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/0.02616, allocations: 39.77 kB / 0.8224 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.02625, allocations: 39.41 kB / 0.8224 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.02626, allocations: 4 kB / 0.8224 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.02626, allocations: 0 / 0.8224 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.02627, allocations: 6.266 kB / 0.8224 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.02674, allocations: 273.1 kB / 0.8227 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02674, allocations: 0 / 0.8227 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.02703, allocations: 55.91 kB / 0.8227 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.02704, allocations: 3.984 kB / 0.8227 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.02706, allocations: 4.594 kB / 0.8227 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.02707, allocations: 4 kB / 0.8227 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02707, allocations: 1.656 kB / 0.8227 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.02788, allocations: 386.9 kB / 0.8231 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.02798, allocations: 43.84 kB / 0.8231 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.02803, allocations: 4 kB / 0.8231 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.0282, allocations: 11.98 kB / 0.8232 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.02826, allocations: 7.984 kB / 0.8232 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.02827, allocations: 4 kB / 0.8232 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007176/0.02899, allocations: 291.2 kB / 0.8234 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02899, allocations: 0 / 0.8234 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000366/0.02935, allocations: 75.84 kB / 0.8235 GB, free: 4.879 MB / 0.7761 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.0001941/0.02955, allocations: 119.1 kB / 0.8236 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.02996, allocations: 131.9 kB / 0.8238 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02996, allocations: 0 / 0.8238 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.03014, allocations: 77.3 kB / 0.8238 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.03072, allocations: 84.3 kB / 0.8239 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.03229, allocations: 0.6803 MB / 0.8246 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.03256, allocations: 198 kB / 0.8248 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.03271, allocations: 34.95 kB / 0.8248 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.0328, allocations: 28.44 kB / 0.8248 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.0328, allocations: 0 / 0.8248 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of Templates: time 0.009663/0.04246, allocations: 3.671 MB / 0.8284 GB, free: 15.96 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.308236379059963]