Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001863/0.001863, 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.002185/0.002185, allocations: 191.6 kB / 22.17 MB, free: 5.652 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.423/1.423, 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.74/2.74, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 1.109 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6844, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005585/0.69, allocations: 4.206 MB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003503/0.6935, allocations: 2.417 MB / 1.281 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.6937, allocations: 8 kB / 1.281 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.6952, allocations: 0.543 MB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.6957, allocations: 254 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.6959, allocations: 139.8 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000864/0.6968, allocations: 0.8058 MB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.6972, allocations: 238.5 kB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.6975, allocations: 291 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.698, allocations: 330.6 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.182e-05/0.6981, allocations: 75.94 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.6982, allocations: 76 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.6983, allocations: 171.4 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.6987, allocations: 386.2 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.6997, allocations: 0.9962 MB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6997, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6997, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.6997, allocations: 4 kB / 1.285 GB, free: 9.59 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001547/0.7013, allocations: 0.973 MB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.7013, allocations: 8.031 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.7015, allocations: 76.47 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.7021, allocations: 466.1 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.7022, allocations: 37.38 kB / 1.286 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.22e-05/0.7023, allocations: 52.33 kB / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.7031, allocations: 430.7 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.7031, allocations: 3.984 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.7031, allocations: 19.98 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.7031, allocations: 12 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.7039, allocations: 367.8 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.7061, allocations: 1.532 MB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.7067, allocations: 315 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.7072, allocations: 285.5 kB / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.7072, allocations: 4.766 kB / 1.289 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7072, allocations: 46.28 kB / 1.289 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.7072, allocations: 0 / 1.289 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42): time 0.001029/0.7083, allocations: 497.8 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.7083, allocations: 63.34 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.7089, allocations: 485.9 kB / 1.29 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.7089, allocations: 29.7 kB / 1.29 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.7092, allocations: 284.6 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.7093, allocations: 150.7 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.7094, allocations: 62.08 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7096, allocations: 358.8 kB / 1.291 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.7099, allocations: 128.7 kB / 1.291 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.7101, allocations: 121.5 kB / 1.291 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.7107, allocations: 294.2 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7107, allocations: 4 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007164/0.7114, allocations: 404.4 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7114, allocations: 4 kB / 1.292 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7114, allocations: 4 kB / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7115, allocations: 0 / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.712, allocations: 127.8 kB / 1.292 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.712, allocations: 4 kB / 1.292 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.7122, allocations: 39.72 kB / 1.292 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.7123, allocations: 12 kB / 1.292 GB, free: 1.746 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 (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.0002402/0.7125, allocations: 201.8 kB / 1.292 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.7126, allocations: 55.61 kB / 1.292 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.7127, allocations: 61.11 kB / 1.292 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7127, allocations: 4 kB / 1.292 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7127, allocations: 0 / 1.292 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.7127, allocations: 3.984 kB / 1.292 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.7134, allocations: 0.5713 MB / 1.293 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7134, allocations: 0 / 1.293 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.714, allocations: 127.8 kB / 1.293 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.714, allocations: 4 kB / 1.293 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.714, allocations: 11.94 kB / 1.293 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.714, allocations: 0 / 1.293 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.714, allocations: 3.984 kB / 1.293 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.7151, allocations: 0.6511 MB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.7152, allocations: 140.7 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.7153, allocations: 12 kB / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.7155, allocations: 15.92 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.7156, allocations: 23.97 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.7156, allocations: 8 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004268/0.716, allocations: 355.1 kB / 1.294 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.716, allocations: 0 / 1.294 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004178/0.7165, allocations: 147.7 kB / 1.294 GB, free: 15.27 MB / 0.9981 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 0.0001426/0.7166, allocations: 118.3 kB / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.7172, allocations: 303.5 kB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7172, allocations: 0 / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.7176, allocations: 171.7 kB / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.7182, allocations: 141.4 kB / 1.295 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.7202, allocations: 1.216 MB / 1.296 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.7207, allocations: 0.8665 MB / 1.297 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000188/0.7209, allocations: 60.38 kB / 1.297 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.721, allocations: 35.44 kB / 1.297 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.721, allocations: 0 / 1.297 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of Templates: time 0.01249/0.7335, allocations: 6.162 MB / 1.303 GB, free: 6.309 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.251439368817955]