Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001803/0.001803, allocations: 119.9 kB / 17.13 MB, free: 5.941 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.001816/0.001816, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.709/2.709, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 176] 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.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3428, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005918/0.3487, allocations: 4.18 MB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003985/0.3527, allocations: 2.417 MB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.3531, allocations: 8 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.3549, allocations: 0.5441 MB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.3556, allocations: 250 kB / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.3559, allocations: 139.8 kB / 1.221 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.3568, allocations: 0.8097 MB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.3572, allocations: 230.6 kB / 1.222 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.3577, allocations: 291 kB / 1.223 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.3581, allocations: 334.6 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.3582, allocations: 72 kB / 1.223 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3583, allocations: 76 kB / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.3585, allocations: 171.4 kB / 1.223 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.3589, allocations: 386.3 kB / 1.224 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3599, allocations: 0.9962 MB / 1.225 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.36, allocations: 4 kB / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.36, allocations: 0 / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.36, allocations: 0 / 1.225 GB, free: 5.984 MB / 0.9669 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.001624/0.3616, allocations: 0.9691 MB / 1.226 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3616, allocations: 15.95 kB / 1.226 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.3618, allocations: 80.47 kB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007095/0.3625, allocations: 466 kB / 1.226 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.3625, allocations: 37.38 kB / 1.226 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.3626, allocations: 52.33 kB / 1.226 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008181/0.3634, allocations: 426.8 kB / 1.227 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.3634, allocations: 3.984 kB / 1.227 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.3635, allocations: 16 kB / 1.227 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.3635, allocations: 12 kB / 1.227 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.3642, allocations: 367.8 kB / 1.227 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.3666, allocations: 1.528 MB / 1.229 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.3671, allocations: 319.2 kB / 1.229 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.3676, allocations: 280.8 kB / 1.229 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.3677, allocations: 4 kB / 1.229 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.3677, allocations: 42.5 kB / 1.229 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=42): time 2.464e-06/0.3677, allocations: 0 / 1.229 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42): time 0.001042/0.3687, allocations: 0.4973 MB / 1.23 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3688, allocations: 55.41 kB / 1.23 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/0.3694, allocations: 485.9 kB / 1.23 GB, free: 168 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3694, allocations: 29.7 kB / 1.23 GB, free: 132 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.3697, allocations: 284.7 kB / 1.23 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3698, allocations: 154.6 kB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3699, allocations: 62.08 kB / 1.231 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3701, allocations: 359.5 kB / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.3704, allocations: 128.7 kB / 1.231 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.3706, allocations: 125.2 kB / 1.231 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.3712, allocations: 298.2 kB / 1.232 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3712, allocations: 0 / 1.232 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007156/0.3719, allocations: 400.7 kB / 1.232 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3719, allocations: 8 kB / 1.232 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3719, allocations: 3.938 kB / 1.232 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3719, allocations: 4 kB / 1.232 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.3725, allocations: 123.9 kB / 1.232 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3725, allocations: 3.984 kB / 1.232 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.3727, allocations: 39.72 kB / 1.232 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.3727, allocations: 12 kB / 1.232 GB, free: 14.14 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.0002518/0.373, allocations: 201.8 kB / 1.232 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.3731, allocations: 55.61 kB / 1.232 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.3732, allocations: 61.11 kB / 1.232 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3732, allocations: 7.984 kB / 1.232 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3732, allocations: 0 / 1.232 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3732, allocations: 3.984 kB / 1.232 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.374, allocations: 0.5713 MB / 1.233 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.374, allocations: 0 / 1.233 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.3745, allocations: 131.8 kB / 1.233 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3745, allocations: 0 / 1.233 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3745, allocations: 11.94 kB / 1.233 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3745, allocations: 0 / 1.233 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3745, allocations: 0 / 1.233 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3756, allocations: 0.6482 MB / 1.234 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3758, allocations: 148.6 kB / 1.234 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.3758, allocations: 8 kB / 1.234 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.376, allocations: 11.98 kB / 1.234 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.3761, allocations: 23.97 kB / 1.234 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3761, allocations: 8 kB / 1.234 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004342/0.3766, allocations: 351.1 kB / 1.234 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3766, allocations: 3.938 kB / 1.234 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004284/0.377, allocations: 143.7 kB / 1.234 GB, free: 11.68 MB / 0.9825 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.000192/0.3772, allocations: 123.2 kB / 1.235 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006372/0.3778, allocations: 307.5 kB / 1.235 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3778, allocations: 0 / 1.235 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.3781, allocations: 163.8 kB / 1.235 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.3788, allocations: 134 kB / 1.235 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3808, allocations: 1.249 MB / 1.236 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.3814, allocations: 0.8665 MB / 1.237 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3815, allocations: 39.44 kB / 1.237 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.3815, allocations: 0 / 1.237 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of Templates: time 0.01114/0.3926, allocations: 6.93 MB / 1.244 GB, free: 1.879 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.268549135886133]