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.000932/0.000932, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.000959/0.000959, allocations: 168.5 kB / 24.86 MB, free: 8.867 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.8788/0.8788, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.697/1.697, allocations: 359 MB / 0.6063 GB, free: 10.89 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.333e-06/1.333e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.445e-05, allocations: 10.25 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002921/0.002935, allocations: 3.084 MB / 0.7914 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.004706, allocations: 2.11 MB / 0.7934 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.004832, allocations: 7.938 kB / 0.7935 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008655/0.005697, allocations: 468.7 kB / 0.7939 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.005859, allocations: 164 kB / 0.7941 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.415e-05/0.005933, allocations: 61.52 kB / 0.7941 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.006261, allocations: 465.6 kB / 0.7946 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.00641, allocations: 99.83 kB / 0.7947 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.006643, allocations: 252.1 kB / 0.7949 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.006792, allocations: 131.6 kB / 0.795 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.006825, allocations: 33.16 kB / 0.7951 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.625e-05/0.006861, allocations: 36 kB / 0.7951 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.269e-05/0.006944, allocations: 107.6 kB / 0.7952 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.007044, allocations: 140.8 kB / 0.7953 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.007284, allocations: 290.8 kB / 0.7956 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.007285, allocations: 0 / 0.7956 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.007286, allocations: 1.375 kB / 0.7956 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.00729, allocations: 3.938 kB / 0.7956 GB, free: 4.742 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006603/0.00795, allocations: 0.7462 MB / 0.7963 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.007987, allocations: 13.3 kB / 0.7963 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.008077, allocations: 64.66 kB / 0.7964 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.008404, allocations: 303.5 kB / 0.7967 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.008421, allocations: 16.88 kB / 0.7967 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.008451, allocations: 17.25 kB / 0.7967 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.008708, allocations: 149.3 kB / 0.7969 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.008723, allocations: 1.75 kB / 0.7969 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.008744, allocations: 12.38 kB / 0.7969 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.008754, allocations: 7.938 kB / 0.7969 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.008872, allocations: 61.44 kB / 0.797 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.009541, allocations: 0.6286 MB / 0.7976 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.009659, allocations: 91.09 kB / 0.7977 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.009718, allocations: 59.91 kB / 0.7977 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.009729, allocations: 4 kB / 0.7977 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.00975, allocations: 37.64 kB / 0.7978 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/0.009752, allocations: 0 / 0.7978 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0002026/0.009955, allocations: 153.3 kB / 0.7979 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.009981, allocations: 51.41 kB / 0.7979 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.01024, allocations: 435.1 kB / 0.7984 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.01025, allocations: 31.64 kB / 0.7984 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.01038, allocations: 279 kB / 0.7987 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.01043, allocations: 63.42 kB / 0.7987 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.01047, allocations: 43.34 kB / 0.7988 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01061, allocations: 0.539 MB / 0.7993 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.01063, allocations: 16.92 kB / 0.7993 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.01066, allocations: 21.83 kB / 0.7993 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.01073, allocations: 69.39 kB / 0.7994 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01073, allocations: 4.594 kB / 0.7994 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000128/0.01086, allocations: 140.2 kB / 0.7995 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01087, allocations: 4 kB / 0.7995 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01087, allocations: 0 / 0.7995 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.01088, allocations: 0 / 0.7995 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01102, allocations: 55.91 kB / 0.7996 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01102, allocations: 4 kB / 0.7996 GB, free: 492 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.01108, allocations: 11.94 kB / 0.7996 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.01109, allocations: 2.312 kB / 0.7996 GB, free: 480 kB / 0.7448 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 8.767e-05/0.01118, allocations: 168.5 kB / 0.7998 GB, free: 300 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.01122, allocations: 43.77 kB / 0.7998 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.01126, allocations: 35.41 kB / 0.7998 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01126, allocations: 0 / 0.7998 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01126, allocations: 4 kB / 0.7998 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01126, allocations: 0.9375 kB / 0.7998 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.01147, allocations: 241 kB / 0.8001 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01148, allocations: 1.125 kB / 0.8001 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.0116, allocations: 51.91 kB / 0.8001 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01161, allocations: 0 / 0.8001 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.01162, allocations: 5.094 kB / 0.8001 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.01162, allocations: 4 kB / 0.8001 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01162, allocations: 0 / 0.8001 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.01188, allocations: 314.6 kB / 0.8004 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.01192, allocations: 39.69 kB / 0.8005 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.01195, allocations: 8.531 kB / 0.8005 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.01202, allocations: 1.688 kB / 0.8005 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.01205, allocations: 19.88 kB / 0.8005 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.01205, allocations: 4 kB / 0.8005 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001485/0.0122, allocations: 275 kB / 0.8008 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.0122, allocations: 0 / 0.8008 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001928/0.0124, allocations: 72.39 kB / 0.8008 GB, free: 15.16 MB / 0.7605 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 8.881e-05/0.01248, allocations: 104.6 kB / 0.8009 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.0126, allocations: 80.73 kB / 0.801 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.0126, allocations: 8.031 kB / 0.801 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.01265, allocations: 49.78 kB / 0.8011 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.01296, allocations: 81.25 kB / 0.8011 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.01376, allocations: 0.6619 MB / 0.8018 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.01382, allocations: 100.3 kB / 0.8019 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.898e-05/0.01389, allocations: 34.97 kB / 0.8019 GB, free: 14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.01402, allocations: 138.2 kB / 0.8021 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.01402, allocations: 0 / 0.8021 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of Templates: time 0.005807/0.01983, allocations: 4.048 MB / 0.806 GB, free: 9.949 MB / 0.7605 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.662236531730741]