Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001792/0.001792, allocations: 114.9 kB / 17.08 MB, free: 5.926 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.001946/0.001946, allocations: 193.2 kB / 20.03 MB, free: 3.004 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.532/1.532, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.288/3.288, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.91 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222/1.224, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005837/1.23, allocations: 4.169 MB / 1.267 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003843/1.234, allocations: 2.41 MB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/1.234, allocations: 14.31 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/1.236, allocations: 0.5562 MB / 1.27 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005764/1.237, allocations: 245.7 kB / 1.27 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/1.237, allocations: 138.6 kB / 1.27 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008967/1.238, allocations: 0.8043 MB / 1.271 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/1.238, allocations: 331.3 kB / 1.271 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/1.239, allocations: 288.1 kB / 1.271 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/1.239, allocations: 331.9 kB / 1.272 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/1.239, allocations: 74.38 kB / 1.272 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/1.239, allocations: 74.97 kB / 1.272 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/1.24, allocations: 168.4 kB / 1.272 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003545/1.24, allocations: 390.1 kB / 1.272 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/1.241, allocations: 0.9891 MB / 1.273 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.241, allocations: 0 / 1.273 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.241, allocations: 5.031 kB / 1.273 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.378e-05/1.241, allocations: 0 / 1.273 GB, free: 1.191 MB / 0.9981 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.001484/1.243, allocations: 0.966 MB / 1.274 GB, free: 484 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.243, allocations: 10.19 kB / 1.274 GB, free: 484 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/1.243, allocations: 77.06 kB / 1.274 GB, free: 444 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/1.243, allocations: 455.4 kB / 1.275 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/1.243, allocations: 36.28 kB / 1.275 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/1.244, allocations: 51.44 kB / 1.275 GB, free: 40 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/1.245, allocations: 430.7 kB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/1.245, allocations: 8.922 kB / 1.275 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/1.245, allocations: 24.06 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/1.245, allocations: 11.94 kB / 1.275 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/1.245, allocations: 367.4 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/1.248, allocations: 1.517 MB / 1.277 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/1.249, allocations: 337.1 kB / 1.277 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/1.249, allocations: 323.9 kB / 1.278 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/1.249, allocations: 15.22 kB / 1.278 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/1.25, allocations: 41.03 kB / 1.278 GB, free: 14.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=42): time 6.593e-06/1.25, allocations: 3.984 kB / 1.278 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.001168/1.251, allocations: 499 kB / 1.278 GB, free: 14.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.251, allocations: 55.22 kB / 1.278 GB, free: 14.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/1.252, allocations: 484.8 kB / 1.279 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/1.252, allocations: 35.86 kB / 1.279 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/1.252, allocations: 278.6 kB / 1.279 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/1.252, allocations: 156.7 kB / 1.279 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.252, allocations: 61.84 kB / 1.279 GB, free: 13.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002191/1.252, allocations: 366.9 kB / 1.28 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/1.253, allocations: 122.3 kB / 1.28 GB, free: 13.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/1.253, allocations: 134.5 kB / 1.28 GB, free: 13.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/1.253, allocations: 289.3 kB / 1.28 GB, free: 12.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.253, allocations: 0 / 1.28 GB, free: 12.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007009/1.254, allocations: 399 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.254, allocations: 7.469 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.254, allocations: 0 / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.254, allocations: 1.562 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/1.255, allocations: 131.8 kB / 1.281 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.255, allocations: 1.219 kB / 1.281 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/1.255, allocations: 31.8 kB / 1.281 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/1.255, allocations: 12.98 kB / 1.281 GB, free: 12.73 MB / 1.014 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.0002532/1.255, allocations: 195.2 kB / 1.281 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/1.255, allocations: 59.25 kB / 1.281 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/1.256, allocations: 66.83 kB / 1.281 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.256, allocations: 2.844 kB / 1.281 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.256, allocations: 3.188 kB / 1.281 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.256, allocations: 2.391 kB / 1.281 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/1.257, allocations: 0.5629 MB / 1.282 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.257, allocations: 1.766 kB / 1.282 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005229/1.257, allocations: 127.5 kB / 1.282 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.257, allocations: 3.141 kB / 1.282 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.257, allocations: 5.062 kB / 1.282 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.257, allocations: 7.156 kB / 1.282 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.257, allocations: 0 / 1.282 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/1.258, allocations: 0.6526 MB / 1.282 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/1.258, allocations: 144.6 kB / 1.283 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/1.259, allocations: 11.39 kB / 1.283 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/1.259, allocations: 15.14 kB / 1.283 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/1.259, allocations: 22.92 kB / 1.283 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/1.259, allocations: 16.28 kB / 1.283 GB, free: 11.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005325/1.259, allocations: 349 kB / 1.283 GB, free: 11.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.259, allocations: 0 / 1.283 GB, free: 11.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004936/1.26, allocations: 143.8 kB / 1.283 GB, free: 11.39 MB / 1.014 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.0002028/1.26, allocations: 113.3 kB / 1.283 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007089/1.261, allocations: 320.8 kB / 1.283 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.261, allocations: 1.125 kB / 1.283 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/1.261, allocations: 186.9 kB / 1.284 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/1.262, allocations: 124.4 kB / 1.284 GB, free: 11.06 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/1.265, allocations: 1.241 MB / 1.285 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/1.266, allocations: 0.8676 MB / 1.286 GB, free: 9.582 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.266, allocations: 38.69 kB / 1.286 GB, free: 9.574 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/1.266, allocations: 0 / 1.286 GB, free: 9.574 MB / 1.014 GB Notification: Performance of Templates: time 0.0185/1.284, allocations: 6.866 MB / 1.293 GB, free: 8.777 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.130301655968651]