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.001517/0.001517, allocations: 88.72 kB / 19.44 MB, free: 356 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.001797/0.001797, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.255/3.255, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.913e-06/1.913e-06, allocations: 0 / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.931e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.007244/0.007274, allocations: 3.826 MB / 0.8814 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004808/0.01208, allocations: 2.238 MB / 0.8836 GB, free: 372 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.01274, allocations: 8 kB / 0.8836 GB, free: 364 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.01499, allocations: 0.509 MB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.01595, allocations: 261.8 kB / 0.8843 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.01633, allocations: 139.8 kB / 0.8845 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.01767, allocations: 0.8432 MB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.01815, allocations: 223 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009122/0.01906, allocations: 463 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.01958, allocations: 231.3 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.01973, allocations: 75.98 kB / 0.8862 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.0199, allocations: 76 kB / 0.8863 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.02013, allocations: 171.4 kB / 0.8865 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.02062, allocations: 271.4 kB / 0.8867 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.02239, allocations: 0.993 MB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.0224, allocations: 0 / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.703e-06/0.0224, allocations: 0 / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.294e-05/0.02244, allocations: 0 / 0.8877 GB, free: 12.12 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.002329/0.02477, allocations: 0.8821 MB / 0.8886 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.02482, allocations: 8.031 kB / 0.8886 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.02509, allocations: 116.5 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.026, allocations: 407.5 kB / 0.8891 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.56e-05/0.02605, allocations: 33.38 kB / 0.8891 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.02615, allocations: 52.31 kB / 0.8892 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.0271, allocations: 431 kB / 0.8896 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.02713, allocations: 192 / 0.8896 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.02718, allocations: 20.38 kB / 0.8896 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.02719, allocations: 15.94 kB / 0.8896 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.02803, allocations: 363.8 kB / 0.8899 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.03057, allocations: 1.195 MB / 0.8911 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.03121, allocations: 304.2 kB / 0.8914 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005902/0.0318, allocations: 281.5 kB / 0.8917 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.03183, allocations: 8 kB / 0.8917 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.03189, allocations: 42.55 kB / 0.8917 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.03189, allocations: 0 / 0.8917 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.001252/0.03314, allocations: 0.505 MB / 0.8922 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.03321, allocations: 59.34 kB / 0.8923 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.03386, allocations: 442 kB / 0.8927 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.0339, allocations: 29.7 kB / 0.8927 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.03418, allocations: 288.5 kB / 0.893 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.03436, allocations: 150.7 kB / 0.8931 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.03448, allocations: 58.08 kB / 0.8932 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002398/0.03472, allocations: 362.8 kB / 0.8935 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.03501, allocations: 124.7 kB / 0.8937 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.03583, allocations: 121.5 kB / 0.8938 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.03646, allocations: 302 kB / 0.8941 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.03647, allocations: 0 / 0.8941 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008209/0.03729, allocations: 412.5 kB / 0.8945 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.0373, allocations: 4 kB / 0.8945 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.03731, allocations: 4 kB / 0.8945 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.03734, allocations: 0 / 0.8945 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.03791, allocations: 127.8 kB / 0.8946 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.03791, allocations: 0 / 0.8946 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.03815, allocations: 35.83 kB / 0.8946 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.03817, allocations: 8 kB / 0.8946 GB, free: 4.852 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.00029/0.03846, allocations: 193.8 kB / 0.8948 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.03858, allocations: 59.7 kB / 0.8949 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.03871, allocations: 60.81 kB / 0.8949 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.03872, allocations: 4 kB / 0.8949 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.03873, allocations: 3.938 kB / 0.8949 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.03873, allocations: 3.984 kB / 0.8949 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.03948, allocations: 420.8 kB / 0.8953 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.03948, allocations: 0 / 0.8953 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.04008, allocations: 131.9 kB / 0.8955 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.04009, allocations: 0 / 0.8955 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.04012, allocations: 12 kB / 0.8955 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.04012, allocations: 0 / 0.8955 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.04012, allocations: 0 / 0.8955 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.04136, allocations: 0.66 MB / 0.8961 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.04149, allocations: 55.69 kB / 0.8962 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.04155, allocations: 8 kB / 0.8962 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.04177, allocations: 19.98 kB / 0.8962 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.04185, allocations: 27.89 kB / 0.8962 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.04187, allocations: 8 kB / 0.8962 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004594/0.04233, allocations: 315.1 kB / 0.8965 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04233, allocations: 0 / 0.8965 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005047/0.04284, allocations: 155.6 kB / 0.8967 GB, free: 2.688 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.0001973/0.04304, allocations: 115.1 kB / 0.8968 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006862/0.04372, allocations: 307.7 kB / 0.8971 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.04372, allocations: 0 / 0.8971 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.04408, allocations: 167.8 kB / 0.8972 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.04472, allocations: 102.6 kB / 0.8973 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.04703, allocations: 1.098 MB / 0.8984 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.04737, allocations: 271 kB / 0.8987 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.04756, allocations: 39.39 kB / 0.8987 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.04768, allocations: 40.5 kB / 0.8988 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.04768, allocations: 0 / 0.8988 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.01259/0.06027, allocations: 4.993 MB / 0.9036 GB, free: 11.64 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=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/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.64939159003552]