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.001425/0.001425, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001608/0.001608, allocations: 210.6 kB / 23 MB, free: 4.934 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.315/3.315, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.00209/0.00209, allocations: 71.67 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4625, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006428/0.4689, allocations: 3.806 MB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.4731, allocations: 2.234 MB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.4735, allocations: 12 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.4755, allocations: 0.5092 MB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.4761, allocations: 238 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.4764, allocations: 143.8 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009282/0.4774, allocations: 0.8075 MB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.4778, allocations: 239 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.4782, allocations: 303 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.4786, allocations: 330.6 kB / 1.336 GB, free: 8.324 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.4787, allocations: 76 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.4789, allocations: 72 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.4791, allocations: 171.4 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.4794, allocations: 314.6 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.4805, allocations: 1 MB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4805, allocations: 0 / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4805, allocations: 0 / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4805, allocations: 4 kB / 1.337 GB, free: 6.695 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.001696/0.4822, allocations: 0.8899 MB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4823, allocations: 8.031 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.4824, allocations: 76.47 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.4833, allocations: 404.1 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.4833, allocations: 37.38 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.4834, allocations: 48.38 kB / 1.339 GB, free: 5.188 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.4843, allocations: 434.8 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.4843, allocations: 3.984 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.4844, allocations: 24 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.4844, allocations: 8 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.4852, allocations: 367.8 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.4874, allocations: 1.168 MB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.488, allocations: 308 kB / 1.341 GB, free: 2.844 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.4885, allocations: 297.1 kB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.4885, allocations: 12.56 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.4886, allocations: 34.56 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.394e-06/0.4886, allocations: 0 / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.00105/0.4896, allocations: 496.7 kB / 1.342 GB, free: 2.004 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4897, allocations: 59.19 kB / 1.342 GB, free: 1.934 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.4902, allocations: 438 kB / 1.342 GB, free: 1.496 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.4903, allocations: 37.69 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.4905, allocations: 276.6 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4907, allocations: 154.6 kB / 1.342 GB, free: 1.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.4908, allocations: 62.08 kB / 1.343 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.491, allocations: 358.8 kB / 1.343 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.4912, allocations: 120.6 kB / 1.343 GB, free: 488 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.4915, allocations: 129.2 kB / 1.343 GB, free: 360 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.492, allocations: 290.4 kB / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.492, allocations: 4 kB / 1.343 GB, free: 64 kB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007068/0.4927, allocations: 396.5 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4928, allocations: 4 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4928, allocations: 11.92 kB / 1.344 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.4928, allocations: 0 / 1.344 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.4933, allocations: 123.9 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.4934, allocations: 0 / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.4936, allocations: 39.72 kB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4936, allocations: 8 kB / 1.344 GB, free: 15.48 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.0002701/0.4938, allocations: 198.3 kB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.4939, allocations: 47.72 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.4941, allocations: 64.73 kB / 1.344 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4941, allocations: 0 / 1.344 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4941, allocations: 0 / 1.344 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4942, allocations: 55.59 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.4942, allocations: 8 kB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4945, allocations: 15.98 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.4945, allocations: 31.89 kB / 1.344 GB, free: 15.06 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001175/0.4957, allocations: 0.5092 MB / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00111/0.4968, allocations: 0.7244 MB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002981/0.4971, allocations: 156.4 kB / 1.346 GB, free: 13.65 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004099/0.4975, allocations: 319.1 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of Backend: time 8.51e-07/0.4975, allocations: 0 / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008078/0.4983, allocations: 260.4 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of SimCode: time 0.0025/0.5008, allocations: 1.617 MB / 1.348 GB, free: 11.42 MB / 1.045 GB Notification: Performance of Templates: time 0.01475/0.5156, allocations: 7.172 MB / 1.355 GB, free: 4.387 MB / 1.045 GB " [Timeout remaining time 299] 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: 9.97323145900009]