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.001016/0.001016, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001056/0.001056, allocations: 177 kB / 23.49 MB, free: 1.055 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.605 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 2.273/2.273, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.454e-06/2.454e-06, allocations: 0 / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.256e-05/4.501e-05, allocations: 4.703 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004968/0.005013, allocations: 4.259 MB / 0.8824 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.00879, allocations: 2.413 MB / 0.8848 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.009255, allocations: 13.59 kB / 0.8848 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.01115, allocations: 0.5191 MB / 0.8853 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.01172, allocations: 249.8 kB / 0.8855 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.01198, allocations: 143.8 kB / 0.8857 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.01276, allocations: 0.8405 MB / 0.8865 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.01312, allocations: 211 kB / 0.8867 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.0137, allocations: 467 kB / 0.8871 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.01404, allocations: 251.3 kB / 0.8874 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.243e-05/0.01412, allocations: 76 kB / 0.8874 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.01421, allocations: 76 kB / 0.8875 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.01439, allocations: 175.4 kB / 0.8877 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.01462, allocations: 267.4 kB / 0.8879 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006043/0.01523, allocations: 0.5054 MB / 0.8884 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.01524, allocations: 0 / 0.8884 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.857e-06/0.01524, allocations: 4 kB / 0.8884 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.01525, allocations: 0 / 0.8884 GB, free: 12.14 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.00141/0.01666, allocations: 1.005 MB / 0.8894 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.01672, allocations: 8.031 kB / 0.8894 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.01687, allocations: 120.5 kB / 0.8895 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.01742, allocations: 386.3 kB / 0.8899 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.01746, allocations: 37.38 kB / 0.8899 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.01752, allocations: 48.38 kB / 0.89 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.018, allocations: 307.7 kB / 0.8903 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.01802, allocations: 192 / 0.8903 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.01805, allocations: 20.38 kB / 0.8903 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.01807, allocations: 15.94 kB / 0.8903 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.01841, allocations: 193.8 kB / 0.8905 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.01997, allocations: 1.206 MB / 0.8917 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.02029, allocations: 212.7 kB / 0.8919 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.02057, allocations: 192.2 kB / 0.8921 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.02059, allocations: 4 kB / 0.8921 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.02063, allocations: 41.39 kB / 0.8921 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=42): time 3.306e-06/0.02063, allocations: 0 / 0.8921 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.0005396/0.02117, allocations: 333.3 kB / 0.8924 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.02122, allocations: 59.34 kB / 0.8925 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.02163, allocations: 482.7 kB / 0.8929 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.02165, allocations: 29.7 kB / 0.893 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.02183, allocations: 351.3 kB / 0.8933 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.02193, allocations: 150.7 kB / 0.8934 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.02202, allocations: 63.73 kB / 0.8935 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.0222, allocations: 0.5469 MB / 0.894 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.02231, allocations: 53.48 kB / 0.8941 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.02241, allocations: 69.2 kB / 0.8942 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.02264, allocations: 161.1 kB / 0.8943 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.02264, allocations: 7.922 kB / 0.8943 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003428/0.02299, allocations: 280.6 kB / 0.8946 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.02301, allocations: 4 kB / 0.8946 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.02302, allocations: 4 kB / 0.8946 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.02304, allocations: 7.938 kB / 0.8946 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.02338, allocations: 131.8 kB / 0.8947 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.02339, allocations: 0 / 0.8947 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.02351, allocations: 31.78 kB / 0.8948 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.02353, allocations: 11.98 kB / 0.8948 GB, free: 5.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.0001526/0.02368, allocations: 172.5 kB / 0.8949 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.02374, allocations: 59.72 kB / 0.895 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/0.02383, allocations: 52.81 kB / 0.895 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.02384, allocations: 11.98 kB / 0.8951 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.02385, allocations: 3.938 kB / 0.8951 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.02386, allocations: 3.984 kB / 0.8951 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.02433, allocations: 432.2 kB / 0.8955 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02433, allocations: 0 / 0.8955 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.02479, allocations: 123.9 kB / 0.8956 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.02479, allocations: 4 kB / 0.8956 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.02482, allocations: 4 kB / 0.8956 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.02483, allocations: 4 kB / 0.8956 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02483, allocations: 4 kB / 0.8956 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.02543, allocations: 0.5004 MB / 0.8961 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.0255, allocations: 59.53 kB / 0.8962 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.02555, allocations: 12 kB / 0.8962 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.02567, allocations: 8 kB / 0.8962 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.02575, allocations: 27.89 kB / 0.8962 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.02577, allocations: 8 kB / 0.8962 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002488/0.02602, allocations: 311 kB / 0.8965 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02602, allocations: 0 / 0.8965 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003623/0.02638, allocations: 155.5 kB / 0.8967 GB, free: 3.438 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.0002025/0.02658, allocations: 119.7 kB / 0.8968 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.02694, allocations: 199.6 kB / 0.897 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.02694, allocations: 0 / 0.897 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.02708, allocations: 123.5 kB / 0.8971 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.02762, allocations: 98.98 kB / 0.8972 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.02951, allocations: 1.037 MB / 0.8982 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.202e-05/0.0296, allocations: 129.8 kB / 0.8983 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.02974, allocations: 39.33 kB / 0.8983 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.02982, allocations: 40.5 kB / 0.8984 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of SimCode: time 1.793e-06/0.02982, allocations: 0 / 0.8984 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of Templates: time 0.01346/0.04328, allocations: 4.99 MB / 0.9033 GB, free: 12.74 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.936814986169338]