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.0009513/0.0009513, allocations: 93.06 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.001463/0.001463, allocations: 165 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.9091/0.9091, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.007/2.007, allocations: 429.5 MB / 0.6733 GB, free: 4.062 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 1.352e-06/1.352e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.761e-05, allocations: 4.984 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.003783/0.003801, allocations: 4.274 MB / 0.8824 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.006095, allocations: 2.438 MB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.006261, allocations: 12 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.007282, allocations: 0.5128 MB / 0.8853 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.007534, allocations: 253.8 kB / 0.8855 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.007674, allocations: 143.8 kB / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000753/0.008427, allocations: 0.8327 MB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.008682, allocations: 223 kB / 0.8867 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.00905, allocations: 467 kB / 0.8872 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.009279, allocations: 247.3 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.009342, allocations: 76 kB / 0.8875 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.009414, allocations: 72 kB / 0.8875 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.009524, allocations: 171.4 kB / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.009699, allocations: 275.4 kB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.01009, allocations: 0.505 MB / 0.8884 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01009, allocations: 0 / 0.8884 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.31e-07/0.01009, allocations: 0 / 0.8884 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.0101, allocations: 0 / 0.8884 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.000904/0.011, allocations: 1.005 MB / 0.8894 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.01103, allocations: 8.031 kB / 0.8894 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.01114, allocations: 116.5 kB / 0.8895 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.0115, allocations: 382.3 kB / 0.8899 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.01153, allocations: 37.38 kB / 0.8899 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.01158, allocations: 52.31 kB / 0.89 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.01198, allocations: 307.7 kB / 0.8903 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01199, allocations: 12.12 kB / 0.8903 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.01202, allocations: 20.38 kB / 0.8903 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.01203, allocations: 11.94 kB / 0.8903 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.01231, allocations: 189.8 kB / 0.8905 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.01347, allocations: 1.202 MB / 0.8917 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.01373, allocations: 213.2 kB / 0.8919 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.01397, allocations: 198 kB / 0.8921 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01398, allocations: 11.94 kB / 0.8921 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.01401, allocations: 37.39 kB / 0.8921 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=42): time 2.545e-06/0.01401, allocations: 3.984 kB / 0.8921 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.0004293/0.01444, allocations: 333.3 kB / 0.8925 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.01447, allocations: 67.34 kB / 0.8925 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.01481, allocations: 478.7 kB / 0.893 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.01482, allocations: 33.7 kB / 0.893 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.01497, allocations: 343.3 kB / 0.8933 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.01531, allocations: 150.7 kB / 0.8935 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.01538, allocations: 67.73 kB / 0.8935 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01552, allocations: 0.543 MB / 0.8941 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.01561, allocations: 56.72 kB / 0.8941 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.548e-05/0.0157, allocations: 61.45 kB / 0.8942 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.01591, allocations: 164.8 kB / 0.8943 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01591, allocations: 4 kB / 0.8943 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002962/0.0162, allocations: 288.5 kB / 0.8946 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.01622, allocations: 4 kB / 0.8946 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01622, allocations: 4 kB / 0.8946 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01624, allocations: 4 kB / 0.8946 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.01653, allocations: 127.8 kB / 0.8948 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01653, allocations: 0 / 0.8948 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.793e-05/0.01662, allocations: 31.78 kB / 0.8948 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01663, 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.0001161/0.01675, allocations: 180.5 kB / 0.895 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.0168, allocations: 59.72 kB / 0.895 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/0.01686, allocations: 52.81 kB / 0.8951 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01687, allocations: 4 kB / 0.8951 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01687, allocations: 3.938 kB / 0.8951 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01688, allocations: 3.984 kB / 0.8951 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.01722, allocations: 432.2 kB / 0.8955 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01723, allocations: 0 / 0.8955 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.0175, allocations: 123.9 kB / 0.8956 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0175, allocations: 4 kB / 0.8956 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01752, allocations: 8 kB / 0.8956 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01752, allocations: 0 / 0.8956 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01753, allocations: 0 / 0.8956 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.01799, allocations: 0.5081 MB / 0.8961 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.01804, allocations: 55.53 kB / 0.8962 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.01807, allocations: 12 kB / 0.8962 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.01816, allocations: 8 kB / 0.8962 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.01821, allocations: 27.89 kB / 0.8962 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01822, allocations: 12 kB / 0.8962 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002015/0.01842, allocations: 311 kB / 0.8965 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01842, allocations: 0 / 0.8965 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002457/0.01867, allocations: 151.7 kB / 0.8967 GB, free: 3.09 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 8.975e-05/0.01876, allocations: 111.2 kB / 0.8968 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.01902, allocations: 203.8 kB / 0.897 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01902, allocations: 0 / 0.897 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.01914, allocations: 119.5 kB / 0.8971 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.01949, allocations: 97.2 kB / 0.8972 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.02076, allocations: 1.039 MB / 0.8982 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.02083, allocations: 125.8 kB / 0.8983 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.02096, allocations: 43.33 kB / 0.8984 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.02106, allocations: 36.5 kB / 0.8984 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.02106, allocations: 4 kB / 0.8984 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.007349/0.02841, allocations: 4.994 MB / 0.9033 GB, free: 12.4 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.2302218726836145]