Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001439/0.001439, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00166/0.00166, allocations: 169 kB / 24.28 MB, free: 280 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.9033/0.9033, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.693/1.693, allocations: 359 MB / 0.6055 GB, free: 11.03 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7871 GB, free: 11.63 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.414e-05, allocations: 2.969 kB / 0.7872 GB, free: 11.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003327/0.003351, allocations: 3.126 MB / 0.7902 GB, free: 8.496 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.005758, allocations: 2.135 MB / 0.7923 GB, free: 6.363 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.005962, allocations: 7.938 kB / 0.7923 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.007132, allocations: 477.7 kB / 0.7928 GB, free: 5.891 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.00739, allocations: 150.9 kB / 0.7929 GB, free: 5.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.007506, allocations: 63.8 kB / 0.793 GB, free: 5.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.007932, allocations: 466.3 kB / 0.7934 GB, free: 5.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.00815, allocations: 105.4 kB / 0.7935 GB, free: 5.117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.00849, allocations: 243.5 kB / 0.7937 GB, free: 4.879 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.008666, allocations: 139.5 kB / 0.7939 GB, free: 4.742 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.008704, allocations: 32 kB / 0.7939 GB, free: 4.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.696e-05/0.008741, allocations: 37.31 kB / 0.7939 GB, free: 4.676 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.008831, allocations: 103.7 kB / 0.794 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.008947, allocations: 139.6 kB / 0.7942 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.009267, allocations: 295.5 kB / 0.7944 GB, free: 4.148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.009271, allocations: 0 / 0.7944 GB, free: 4.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.009272, allocations: 1.344 kB / 0.7944 GB, free: 4.148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.00928, allocations: 0 / 0.7944 GB, free: 4.148 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008174/0.0101, allocations: 0.7462 MB / 0.7952 GB, free: 3.367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.01014, allocations: 8.031 kB / 0.7952 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01024, allocations: 66.03 kB / 0.7952 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.01063, allocations: 310.6 kB / 0.7955 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.01065, allocations: 14.09 kB / 0.7956 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.01068, allocations: 28.36 kB / 0.7956 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.01093, allocations: 161.3 kB / 0.7957 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01094, allocations: 4.719 kB / 0.7957 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.01096, allocations: 4.906 kB / 0.7957 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.01096, allocations: 7.938 kB / 0.7958 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.01111, allocations: 87.75 kB / 0.7958 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/0.01185, allocations: 0.6916 MB / 0.7965 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.01201, allocations: 104.4 kB / 0.7966 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.01209, allocations: 62.77 kB / 0.7967 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.0121, allocations: 4 kB / 0.7967 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.01213, allocations: 42.47 kB / 0.7967 GB, free: 1.707 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.01213, allocations: 0 / 0.7967 GB, free: 1.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0002731/0.0124, allocations: 167.5 kB / 0.7969 GB, free: 1.539 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.01243, allocations: 52.16 kB / 0.7969 GB, free: 1.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.01274, allocations: 442.8 kB / 0.7974 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.01276, allocations: 30.33 kB / 0.7974 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.0129, allocations: 275.1 kB / 0.7976 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.01295, allocations: 64.25 kB / 0.7977 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.01301, allocations: 43.36 kB / 0.7977 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.01317, allocations: 0.5361 MB / 0.7983 GB, free: 56 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.01322, allocations: 19.98 kB / 0.7983 GB, free: 36 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.101e-05/0.01326, allocations: 25.2 kB / 0.7983 GB, free: 12 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.01337, allocations: 75.56 kB / 0.7984 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01338, allocations: 0 / 0.7984 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001788/0.01356, allocations: 148 kB / 0.7985 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01357, allocations: 4.969 kB / 0.7985 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.01358, allocations: 0 / 0.7985 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01359, allocations: 2.312 kB / 0.7985 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.01376, allocations: 55.91 kB / 0.7986 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01377, allocations: 4 kB / 0.7986 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.01383, allocations: 15.89 kB / 0.7986 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01384, allocations: 7.984 kB / 0.7986 GB, free: 15.7 MB / 0.7136 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 (20): * Single equations (assignments): 20 * 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 9.238e-05/0.01393, allocations: 160 kB / 0.7988 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.01397, allocations: 43.77 kB / 0.7988 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.01402, allocations: 35.41 kB / 0.7988 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01402, allocations: 7.984 kB / 0.7988 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01403, allocations: 0 / 0.7988 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01403, allocations: 0 / 0.7988 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.01429, allocations: 320.2 kB / 0.7992 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01429, allocations: 3.938 kB / 0.7992 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.01443, allocations: 48.94 kB / 0.7992 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01443, allocations: 4 kB / 0.7992 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01445, allocations: 4 kB / 0.7992 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01445, allocations: 0.5 kB / 0.7992 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01445, allocations: 0.5625 kB / 0.7992 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.01473, allocations: 330.2 kB / 0.7995 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.01477, allocations: 47.69 kB / 0.7996 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.0148, allocations: 1 kB / 0.7996 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.01488, allocations: 11.98 kB / 0.7996 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.01492, allocations: 8.516 kB / 0.7996 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.01493, allocations: 8 kB / 0.7996 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001819/0.01511, allocations: 287.7 kB / 0.7999 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01511, allocations: 0 / 0.7999 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002045/0.01531, allocations: 73.7 kB / 0.7999 GB, free: 14.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001034/0.01542, allocations: 107.2 kB / 0.8 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.01557, allocations: 90.92 kB / 0.8001 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01557, allocations: 0 / 0.8001 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.01563, allocations: 51.61 kB / 0.8002 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.01599, allocations: 87.03 kB / 0.8003 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.017, allocations: 0.6631 MB / 0.8009 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.849e-05/0.01705, allocations: 96.3 kB / 0.801 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.878e-05/0.01713, allocations: 34.95 kB / 0.801 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.01718, allocations: 24.5 kB / 0.8011 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/0.01718, allocations: 0 / 0.8011 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.005962/0.02314, allocations: 3.664 MB / 0.8046 GB, free: 9.562 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.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.82193473004736]