Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001127/0.001127, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009551/0.0009551, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9103/0.9103, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.744/1.744, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0.7656 kB / 0.7884 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.426e-05, allocations: 6.031 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003853/0.003877, allocations: 4.176 MB / 0.7924 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.006333, allocations: 2.392 MB / 0.7948 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.006548, allocations: 11.94 kB / 0.7948 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.007615, allocations: 0.5042 MB / 0.7953 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.007938, allocations: 260.4 kB / 0.7955 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.008105, allocations: 139.8 kB / 0.7957 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.008704, allocations: 0.8451 MB / 0.7965 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.008974, allocations: 219 kB / 0.7967 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/0.009379, allocations: 463 kB / 0.7971 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.009642, allocations: 255.3 kB / 0.7974 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.731e-05/0.009709, allocations: 74.5 kB / 0.7975 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.00978, allocations: 76 kB / 0.7975 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.009901, allocations: 175.4 kB / 0.7977 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.01009, allocations: 271.4 kB / 0.7979 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.01049, allocations: 0.4982 MB / 0.7984 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01049, allocations: 0 / 0.7984 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.01049, allocations: 0 / 0.7984 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.0105, allocations: 4.5 kB / 0.7984 GB, free: 1.84 MB / 0.7448 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.0009684/0.01147, allocations: 1.01 MB / 0.7994 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.0115, allocations: 8.031 kB / 0.7994 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.01161, allocations: 113 kB / 0.7995 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.01197, allocations: 383.1 kB / 0.7999 GB, free: 284 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.01199, allocations: 38.16 kB / 0.7999 GB, free: 248 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.01204, allocations: 48.38 kB / 0.8 GB, free: 200 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.01236, allocations: 281 kB / 0.8003 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01237, allocations: 4.172 kB / 0.8003 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.0124, allocations: 20.31 kB / 0.8003 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01241, allocations: 16.78 kB / 0.8003 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.0126, allocations: 150.8 kB / 0.8004 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.01369, allocations: 1.109 MB / 0.8015 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.0139, allocations: 197.6 kB / 0.8017 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.01408, allocations: 181.5 kB / 0.8019 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.01409, allocations: 8 kB / 0.8019 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.01412, allocations: 37.17 kB / 0.8019 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 1.834e-06/0.01412, allocations: 1 kB / 0.8019 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.0003499/0.01447, allocations: 296.8 kB / 0.8022 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.0145, allocations: 56.53 kB / 0.8023 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.01478, allocations: 466.5 kB / 0.8027 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.0148, allocations: 29.7 kB / 0.8027 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.01496, allocations: 356.2 kB / 0.8031 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.01504, allocations: 154.7 kB / 0.8032 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.01511, allocations: 67.69 kB / 0.8033 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.01526, allocations: 0.556 MB / 0.8038 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.01532, allocations: 44.7 kB / 0.8039 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.01537, allocations: 45.22 kB / 0.8039 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01551, allocations: 137.2 kB / 0.8041 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01552, allocations: 1.875 kB / 0.8041 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002373/0.01575, allocations: 256.6 kB / 0.8043 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01577, allocations: 8 kB / 0.8043 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01577, allocations: 0.7656 kB / 0.8043 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.01578, allocations: 0 / 0.8043 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.01605, allocations: 133 kB / 0.8044 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01606, allocations: 9.031 kB / 0.8044 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.01615, allocations: 23.78 kB / 0.8045 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01616, allocations: 8 kB / 0.8045 GB, free: 11.48 MB / 0.7605 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.0001081/0.01627, allocations: 173.2 kB / 0.8046 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.01632, allocations: 67.66 kB / 0.8047 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.01638, allocations: 60.86 kB / 0.8048 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01639, allocations: 4 kB / 0.8048 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01639, allocations: 0 / 0.8048 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01639, allocations: 3.938 kB / 0.8048 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.01671, allocations: 344.8 kB / 0.8051 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01671, allocations: 0 / 0.8051 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.01698, allocations: 123.9 kB / 0.8052 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01699, allocations: 3.984 kB / 0.8052 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.01701, allocations: 12 kB / 0.8052 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01701, allocations: 0 / 0.8052 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01701, allocations: 0 / 0.8052 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.01738, allocations: 484.1 kB / 0.8057 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.01743, allocations: 55.59 kB / 0.8057 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.01747, allocations: 8 kB / 0.8058 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.01756, allocations: 8 kB / 0.8058 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.01761, allocations: 27.95 kB / 0.8058 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.01762, allocations: 8 kB / 0.8058 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001611/0.01778, allocations: 291 kB / 0.8061 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01778, allocations: 0 / 0.8061 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002514/0.01804, allocations: 151.7 kB / 0.8062 GB, free: 9.637 MB / 0.7605 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.0001057/0.01814, allocations: 119.1 kB / 0.8063 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.01834, allocations: 171.4 kB / 0.8065 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01834, allocations: 0 / 0.8065 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.01843, allocations: 119.2 kB / 0.8066 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.0188, allocations: 89.59 kB / 0.8067 GB, free: 9.133 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.02001, allocations: 1.032 MB / 0.8077 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.02009, allocations: 125.8 kB / 0.8078 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.0202, allocations: 47.36 kB / 0.8079 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.02038, allocations: 162.1 kB / 0.808 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of SimCode: time 5.91e-07/0.02038, allocations: 0 / 0.808 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of Templates: time 0.007878/0.02826, allocations: 5.536 MB / 0.8134 GB, free: 2.34 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.87008914956823]