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.001444/0.001444, allocations: 92.22 kB / 19.65 MB, free: 276 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.001551/0.001551, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9208/0.9208, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.926/1.926, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 178] 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.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.744e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004855/0.004872, allocations: 4.277 MB / 0.8824 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.007003, allocations: 2.432 MB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.007176, allocations: 12 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.008232, allocations: 0.5113 MB / 0.8853 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.008496, allocations: 259.9 kB / 0.8856 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.008653, allocations: 139.8 kB / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.009244, allocations: 0.8366 MB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.009542, allocations: 219 kB / 0.8867 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.009937, allocations: 463 kB / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.01021, allocations: 251.3 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.01027, allocations: 76 kB / 0.8875 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.01034, allocations: 72 kB / 0.8875 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.01048, allocations: 179.3 kB / 0.8877 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.01066, allocations: 263.5 kB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.01108, allocations: 0.5099 MB / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.01108, allocations: 0 / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01108, allocations: 0 / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.01109, allocations: 0 / 0.8885 GB, free: 11.79 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.0009504/0.01204, allocations: 1.009 MB / 0.8894 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.01208, allocations: 8.031 kB / 0.8894 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.01225, allocations: 116.5 kB / 0.8896 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.01264, allocations: 382.3 kB / 0.8899 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.01266, allocations: 37.38 kB / 0.89 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.01271, allocations: 48.38 kB / 0.89 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.01309, allocations: 311.7 kB / 0.8903 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.0131, allocations: 192 / 0.8903 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.01313, allocations: 20.38 kB / 0.8903 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.01314, allocations: 15.94 kB / 0.8903 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.01341, allocations: 193.8 kB / 0.8905 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01459, allocations: 1.206 MB / 0.8917 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.01483, allocations: 208.5 kB / 0.8919 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.01504, allocations: 193.1 kB / 0.8921 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.01506, allocations: 8 kB / 0.8921 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.01508, allocations: 41.39 kB / 0.8921 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.01508, allocations: 0 / 0.8921 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.0004189/0.0155, allocations: 333.3 kB / 0.8924 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.01553, allocations: 59.34 kB / 0.8925 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.01584, allocations: 478.7 kB / 0.893 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01586, allocations: 37.7 kB / 0.893 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.016, allocations: 347.2 kB / 0.8933 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.01609, allocations: 146.7 kB / 0.8935 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.01615, allocations: 67.73 kB / 0.8935 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.01629, allocations: 0.5438 MB / 0.8941 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.01637, allocations: 64.7 kB / 0.8941 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.01645, allocations: 57.47 kB / 0.8942 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.01665, allocations: 168.8 kB / 0.8943 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01665, allocations: 4 kB / 0.8943 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000276/0.01692, allocations: 288.5 kB / 0.8946 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01694, allocations: 6.188 kB / 0.8946 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01694, allocations: 7.938 kB / 0.8946 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.01695, allocations: 0 / 0.8946 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.01723, allocations: 123.8 kB / 0.8948 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01723, allocations: 7.984 kB / 0.8948 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.01731, allocations: 31.78 kB / 0.8948 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01733, allocations: 8 kB / 0.8948 GB, free: 5.086 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.0001193/0.01745, allocations: 172.5 kB / 0.895 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.0175, allocations: 59.72 kB / 0.895 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.01757, allocations: 52.81 kB / 0.8951 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01757, allocations: 7.984 kB / 0.8951 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01757, allocations: 3.938 kB / 0.8951 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01758, allocations: 0 / 0.8951 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.01793, allocations: 444.2 kB / 0.8955 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01794, allocations: 0 / 0.8955 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.01821, allocations: 123.8 kB / 0.8956 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01821, allocations: 3.984 kB / 0.8956 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.01824, allocations: 8 kB / 0.8956 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01824, allocations: 0 / 0.8956 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01824, allocations: 0 / 0.8956 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.01872, allocations: 0.5004 MB / 0.8961 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.01877, allocations: 55.53 kB / 0.8962 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.01881, allocations: 16 kB / 0.8962 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.0189, allocations: 8 kB / 0.8962 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.01895, allocations: 31.88 kB / 0.8962 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01896, allocations: 8 kB / 0.8962 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002045/0.01917, allocations: 311 kB / 0.8965 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01917, allocations: 3.938 kB / 0.8965 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002546/0.01942, allocations: 151.7 kB / 0.8967 GB, free: 3.086 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.0001077/0.01953, allocations: 111.1 kB / 0.8968 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003006/0.01983, allocations: 199.8 kB / 0.897 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01983, allocations: 4 kB / 0.897 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.01996, allocations: 119.5 kB / 0.8971 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.02042, allocations: 96.27 kB / 0.8972 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.02201, allocations: 1.037 MB / 0.8982 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.493e-05/0.0221, allocations: 129.8 kB / 0.8983 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.02223, allocations: 51.33 kB / 0.8984 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.945e-05/0.02232, allocations: 32.5 kB / 0.8984 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.02232, allocations: 0 / 0.8984 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of Templates: time 0.008924/0.03124, allocations: 5.249 MB / 0.9035 GB, free: 12.14 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.037426039110869]