Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001751/0.001751, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002231/0.002231, allocations: 214.1 kB / 23.01 MB, free: 4.566 MB / 14.72 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.416/3.416, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 69.25 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4401, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006119/0.4462, allocations: 4.226 MB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004262/0.4504, allocations: 2.472 MB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.4508, allocations: 12 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.4527, allocations: 0.5598 MB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.4534, allocations: 254 kB / 1.335 GB, free: 9.898 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.4537, allocations: 135.9 kB / 1.335 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.4547, allocations: 0.8036 MB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.4552, allocations: 239 kB / 1.336 GB, free: 8.719 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.4557, allocations: 302.9 kB / 1.336 GB, free: 8.422 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.4562, allocations: 334.6 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.083e-05/0.4563, allocations: 72 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.4564, allocations: 80 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.4566, allocations: 163.5 kB / 1.337 GB, free: 7.785 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.457, allocations: 394.2 kB / 1.337 GB, free: 7.398 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.4582, allocations: 0.9884 MB / 1.338 GB, free: 6.406 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4582, allocations: 0 / 1.338 GB, free: 6.406 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4582, allocations: 0 / 1.338 GB, free: 6.406 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.4582, allocations: 0 / 1.338 GB, free: 6.406 MB / 1.029 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.001651/0.4599, allocations: 0.8899 MB / 1.339 GB, free: 5.484 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4599, allocations: 15.97 kB / 1.339 GB, free: 5.469 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.46, allocations: 76.47 kB / 1.339 GB, free: 5.395 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.4608, allocations: 404.2 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.4609, allocations: 33.38 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.4609, allocations: 48.38 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.4617, allocations: 430.8 kB / 1.34 GB, free: 4.469 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.4617, allocations: 0 / 1.34 GB, free: 4.469 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.4618, allocations: 23.94 kB / 1.34 GB, free: 4.445 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.4618, allocations: 19.94 kB / 1.34 GB, free: 4.426 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.4625, allocations: 363.8 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.4647, allocations: 1.469 MB / 1.342 GB, free: 2.535 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/0.4653, allocations: 315.5 kB / 1.342 GB, free: 2.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.4658, allocations: 293.8 kB / 1.342 GB, free: 1.926 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.4658, allocations: 4 kB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.4659, allocations: 46.22 kB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.685e-06/0.4659, allocations: 0 / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001014/0.4669, allocations: 0.4929 MB / 1.343 GB, free: 1.367 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.4669, allocations: 55.41 kB / 1.343 GB, free: 1.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.4676, allocations: 485.9 kB / 1.343 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.4676, allocations: 29.7 kB / 1.343 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.4678, allocations: 280.7 kB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4679, allocations: 154.6 kB / 1.344 GB, free: 356 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.468, allocations: 58.08 kB / 1.344 GB, free: 288 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.4683, allocations: 370.8 kB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.4685, allocations: 120.6 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.4688, allocations: 129.2 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.4693, allocations: 290.4 kB / 1.345 GB, free: 15.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4693, allocations: 0 / 1.345 GB, free: 15.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006663/0.4699, allocations: 400.5 kB / 1.345 GB, free: 14.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.47, allocations: 8 kB / 1.345 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.47, allocations: 0 / 1.345 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.47, allocations: 0 / 1.345 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.4705, allocations: 123.9 kB / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4705, allocations: 7.938 kB / 1.345 GB, free: 14.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.4707, allocations: 43.72 kB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.4708, allocations: 12 kB / 1.345 GB, free: 14.79 MB / 1.045 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.0002604/0.471, allocations: 198.3 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.4711, allocations: 59.59 kB / 1.345 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.4712, allocations: 57.11 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4712, allocations: 4 kB / 1.345 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.4712, allocations: 3.984 kB / 1.345 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4713, allocations: 0 / 1.345 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007183/0.472, allocations: 0.5508 MB / 1.346 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.472, allocations: 0 / 1.346 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/0.4725, allocations: 131.8 kB / 1.346 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.4725, allocations: 4 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.4725, allocations: 4 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.4725, allocations: 4 kB / 1.346 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4725, allocations: 0 / 1.346 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4735, allocations: 0.656 MB / 1.347 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.4737, allocations: 67.52 kB / 1.347 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.4737, allocations: 8 kB / 1.347 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.4739, allocations: 11.98 kB / 1.347 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.474, allocations: 23.95 kB / 1.347 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.474, allocations: 12 kB / 1.347 GB, free: 12.94 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004119/0.4744, allocations: 351.1 kB / 1.347 GB, free: 12.6 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4744, allocations: 0 / 1.347 GB, free: 12.6 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004249/0.4749, allocations: 147.7 kB / 1.347 GB, free: 12.46 MB / 1.045 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.0001667/0.475, allocations: 111.2 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006086/0.4756, allocations: 296 kB / 1.348 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4756, allocations: 0 / 1.348 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.4759, allocations: 167.6 kB / 1.348 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006555/0.4766, allocations: 148.6 kB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4788, allocations: 1.23 MB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.4793, allocations: 0.8702 MB / 1.35 GB, free: 9.578 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.4795, allocations: 39.44 kB / 1.35 GB, free: 9.539 MB / 1.045 GB Notification: Performance of SimCode: time 8.92e-07/0.4795, allocations: 0 / 1.35 GB, free: 9.539 MB / 1.045 GB Notification: Performance of Templates: time 0.01199/0.4915, allocations: 6.902 MB / 1.357 GB, free: 2.699 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.064133248000871]