Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009108/0.0009108, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009419/0.0009419, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9341/0.9341, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.823/1.823, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7601 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.079e-05, allocations: 3.188 kB / 0.7601 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005594/0.005615, allocations: 4.226 MB / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003651/0.009266, allocations: 2.449 MB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.009527, allocations: 10.91 kB / 0.7667 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.01101, allocations: 0.5517 MB / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.01146, allocations: 257.7 kB / 0.7674 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.0117, allocations: 139.8 kB / 0.7676 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008128/0.01251, allocations: 0.8366 MB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.01288, allocations: 226 kB / 0.7686 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.01347, allocations: 467 kB / 0.769 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.01382, allocations: 247.3 kB / 0.7693 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.01391, allocations: 77.16 kB / 0.7694 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.01401, allocations: 72 kB / 0.7694 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.01416, allocations: 179.3 kB / 0.7696 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.0144, allocations: 273 kB / 0.7699 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.01498, allocations: 0.5022 MB / 0.7703 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01498, allocations: 0 / 0.7703 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01499, allocations: 0 / 0.7703 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.01499, allocations: 2.75 kB / 0.7703 GB, free: 12.02 MB / 0.7292 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.001108/0.0161, allocations: 0.8537 MB / 0.7712 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.01613, allocations: 8.031 kB / 0.7712 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.01626, allocations: 88.86 kB / 0.7713 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.01668, allocations: 291.5 kB / 0.7716 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.01672, allocations: 37.38 kB / 0.7716 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.01678, allocations: 49.25 kB / 0.7716 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.0172, allocations: 287.7 kB / 0.7719 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.01723, allocations: 13.11 kB / 0.7719 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.01726, allocations: 16.38 kB / 0.7719 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.01727, allocations: 19.88 kB / 0.772 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.01753, allocations: 131.9 kB / 0.7721 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.0189, allocations: 0.8415 MB / 0.7729 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.01915, allocations: 176.3 kB / 0.7731 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.01938, allocations: 158.3 kB / 0.7732 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.0194, allocations: 4 kB / 0.7732 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.01943, allocations: 39.47 kB / 0.7733 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 2.615e-06/0.01943, allocations: 0 / 0.7733 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.0003959/0.01982, allocations: 234 kB / 0.7735 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.01986, allocations: 56.09 kB / 0.7735 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.02017, allocations: 343.3 kB / 0.7739 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.0202, allocations: 34.67 kB / 0.7739 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.02032, allocations: 233.4 kB / 0.7741 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.02042, allocations: 150.7 kB / 0.7743 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.02051, allocations: 69.12 kB / 0.7743 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.02063, allocations: 358.7 kB / 0.7747 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.02071, allocations: 32.73 kB / 0.7747 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.02079, allocations: 49.22 kB / 0.7748 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.02098, allocations: 129.4 kB / 0.7749 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.02099, allocations: 4 kB / 0.7749 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002717/0.02126, allocations: 185.3 kB / 0.7751 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.02127, allocations: 8 kB / 0.7751 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.02128, allocations: 3.781 kB / 0.7751 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.02129, allocations: 0 / 0.7751 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.02194, allocations: 200.7 kB / 0.7753 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.02194, allocations: 2.656 kB / 0.7753 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.02207, allocations: 27.84 kB / 0.7753 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.02209, allocations: 7.938 kB / 0.7753 GB, free: 6.812 MB / 0.7292 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.0001195/0.02221, allocations: 132.5 kB / 0.7754 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.02228, allocations: 43.95 kB / 0.7755 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.02235, allocations: 52.81 kB / 0.7755 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.02236, allocations: 4.562 kB / 0.7755 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02236, allocations: 3.156 kB / 0.7755 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.02236, allocations: 3.984 kB / 0.7755 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.02277, allocations: 301.3 kB / 0.7758 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02277, allocations: 0 / 0.7758 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.02338, allocations: 201.3 kB / 0.776 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.02339, allocations: 0 / 0.776 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.02341, allocations: 12 kB / 0.776 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.02341, allocations: 4 kB / 0.776 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02342, allocations: 1.812 kB / 0.776 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.02385, allocations: 360 kB / 0.7764 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.02392, allocations: 55.52 kB / 0.7764 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.02397, allocations: 8 kB / 0.7764 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.02412, allocations: 12 kB / 0.7764 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.02417, allocations: 21.02 kB / 0.7765 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.02419, allocations: 8 kB / 0.7765 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000174/0.02436, allocations: 153.7 kB / 0.7766 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.02436, allocations: 0 / 0.7766 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003677/0.02473, allocations: 151.7 kB / 0.7768 GB, free: 5.285 MB / 0.7292 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.0001179/0.02485, allocations: 95.52 kB / 0.7769 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.02511, allocations: 165.1 kB / 0.777 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.02511, allocations: 4 kB / 0.777 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.02525, allocations: 101.2 kB / 0.7771 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.02572, allocations: 113.8 kB / 0.7772 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.02732, allocations: 0.9675 MB / 0.7782 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.02744, allocations: 130.7 kB / 0.7783 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.02762, allocations: 46.22 kB / 0.7783 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.02791, allocations: 154 kB / 0.7785 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/0.02792, allocations: 3.938 kB / 0.7785 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of Templates: time 0.009934/0.03785, allocations: 6.196 MB / 0.7845 GB, free: 13.6 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.68369583087042]