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.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.001942/0.001942, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002104/0.002104, allocations: 177.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.626/1.626, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.375/3.375, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.873e-06/1.873e-06, allocations: 0.5469 kB / 0.8775 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.09e-05, allocations: 4.703 kB / 0.8775 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006691/0.006722, allocations: 4.229 MB / 0.8816 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.01098, allocations: 2.414 MB / 0.884 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.01133, allocations: 8 kB / 0.884 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.01317, allocations: 0.5051 MB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005792/0.01375, allocations: 261.8 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.01403, allocations: 143.8 kB / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.01504, allocations: 0.8432 MB / 0.8857 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.01544, allocations: 215 kB / 0.8859 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007964/0.01624, allocations: 463 kB / 0.8864 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.01664, allocations: 255.3 kB / 0.8866 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.01675, allocations: 72 kB / 0.8867 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.01689, allocations: 76 kB / 0.8867 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.01709, allocations: 175.4 kB / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.01743, allocations: 263.4 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.01861, allocations: 0.9969 MB / 0.8881 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01861, allocations: 0 / 0.8881 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01861, allocations: 0 / 0.8881 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.01863, allocations: 0 / 0.8881 GB, free: 11.66 MB / 0.8542 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.001802/0.02043, allocations: 1.068 MB / 0.8892 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.02047, allocations: 8.031 kB / 0.8892 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.02067, allocations: 116.5 kB / 0.8893 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.02137, allocations: 394.3 kB / 0.8897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.02142, allocations: 41.36 kB / 0.8897 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/0.02151, allocations: 48.38 kB / 0.8898 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008236/0.02233, allocations: 411 kB / 0.8901 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.02235, allocations: 192 / 0.8901 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.0224, allocations: 24.38 kB / 0.8902 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.02242, allocations: 15.94 kB / 0.8902 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007417/0.02316, allocations: 343.8 kB / 0.8905 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.02581, allocations: 1.564 MB / 0.892 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.02638, allocations: 317.5 kB / 0.8923 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.02688, allocations: 287.5 kB / 0.8926 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.02692, allocations: 8 kB / 0.8926 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.02696, allocations: 41.38 kB / 0.8927 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=42): time 2.394e-06/0.02696, allocations: 0 / 0.8927 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.001004/0.02797, allocations: 489.3 kB / 0.8931 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.02802, allocations: 59.34 kB / 0.8932 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008302/0.02885, allocations: 0.5456 MB / 0.8937 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.02889, allocations: 37.7 kB / 0.8938 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.0292, allocations: 351.2 kB / 0.8941 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.02938, allocations: 170.6 kB / 0.8943 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.02953, allocations: 79.73 kB / 0.8943 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003686/0.0299, allocations: 0.5704 MB / 0.8949 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.03014, allocations: 108.7 kB / 0.895 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.03038, allocations: 121.5 kB / 0.8951 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.03093, allocations: 300.8 kB / 0.8954 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.03094, allocations: 3.938 kB / 0.8954 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00072/0.03166, allocations: 396.5 kB / 0.8958 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.03167, allocations: 4 kB / 0.8958 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.03168, allocations: 0 / 0.8958 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.0317, allocations: 4 kB / 0.8958 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005481/0.03225, allocations: 131.8 kB / 0.8959 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.03225, allocations: 0 / 0.8959 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.03246, allocations: 31.78 kB / 0.8959 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.03249, allocations: 12 kB / 0.896 GB, free: 3.434 MB / 0.8542 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.0002753/0.03276, allocations: 224.5 kB / 0.8962 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.03287, allocations: 59.7 kB / 0.8962 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.033, allocations: 52.81 kB / 0.8963 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.03301, allocations: 4 kB / 0.8963 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.03302, allocations: 3.938 kB / 0.8963 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.03303, allocations: 3.984 kB / 0.8963 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.03386, allocations: 0.5587 MB / 0.8968 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.03386, allocations: 0 / 0.8968 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.03442, allocations: 123.9 kB / 0.8969 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.03442, allocations: 4 kB / 0.897 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.03445, allocations: 4 kB / 0.897 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.03445, allocations: 4 kB / 0.897 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.03445, allocations: 0 / 0.897 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.03557, allocations: 0.6918 MB / 0.8976 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.03568, allocations: 55.58 kB / 0.8977 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.03574, allocations: 12 kB / 0.8977 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.03594, allocations: 8 kB / 0.8977 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.03601, allocations: 27.89 kB / 0.8977 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.03604, allocations: 11.98 kB / 0.8977 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004459/0.03648, allocations: 359.1 kB / 0.8981 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03648, allocations: 0 / 0.8981 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004484/0.03693, allocations: 155.6 kB / 0.8982 GB, free: 1.031 MB / 0.8542 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.0001769/0.03711, allocations: 117 kB / 0.8983 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006537/0.03776, allocations: 323.4 kB / 0.8987 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.03776, allocations: 0 / 0.8987 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.03808, allocations: 183.5 kB / 0.8988 GB, free: 416 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.03868, allocations: 111.4 kB / 0.8989 GB, free: 312 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.04075, allocations: 1.095 MB / 0.9 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.0412, allocations: 267.2 kB / 0.9003 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.04138, allocations: 43.31 kB / 0.9003 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.04148, allocations: 36.5 kB / 0.9003 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of SimCode: time 8.92e-07/0.04148, allocations: 0 / 0.9003 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01195/0.05343, allocations: 4.992 MB / 0.9052 GB, free: 9.953 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.745118343969807]