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.0009319/0.0009319, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009979/0.0009979, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8708/0.8708, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.743/1.743, allocations: 359 MB / 0.6052 GB, free: 10.95 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.012e-06/1.012e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.307e-05, allocations: 5.703 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002911/0.002924, allocations: 3.141 MB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.004837, allocations: 2.15 MB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.004953, allocations: 8 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000884/0.005837, allocations: 468.1 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.006011, allocations: 164.4 kB / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.935e-05/0.00609, allocations: 65.55 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.006419, allocations: 465.6 kB / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.006559, allocations: 95.84 kB / 0.7935 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.006784, allocations: 252 kB / 0.7938 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.006931, allocations: 135.6 kB / 0.7939 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.006963, allocations: 36.69 kB / 0.7939 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.007001, allocations: 32 kB / 0.794 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.007076, allocations: 108.3 kB / 0.7941 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.00717, allocations: 140.6 kB / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.007408, allocations: 290.9 kB / 0.7945 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.007409, allocations: 0 / 0.7945 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00741, allocations: 1.375 kB / 0.7945 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.007414, allocations: 0 / 0.7945 GB, free: 4.887 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.0006422/0.008056, allocations: 0.7464 MB / 0.7952 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 0.0002729/0.008329, allocations: 9.188 kB / 0.7952 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.008399, allocations: 60.66 kB / 0.7953 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.00868, allocations: 323 kB / 0.7956 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.008694, allocations: 17.38 kB / 0.7956 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.008723, allocations: 21.22 kB / 0.7956 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.008929, allocations: 153.4 kB / 0.7958 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.00894, allocations: 5.016 kB / 0.7958 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.008957, allocations: 16.12 kB / 0.7958 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.008964, allocations: 4 kB / 0.7958 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.00909, allocations: 76.66 kB / 0.7959 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.009744, allocations: 0.6911 MB / 0.7966 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.009886, allocations: 109.3 kB / 0.7967 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.009959, allocations: 63.03 kB / 0.7967 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.009968, allocations: 0 / 0.7967 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.009987, allocations: 41.7 kB / 0.7968 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.009988, allocations: 0 / 0.7968 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0002305/0.01022, allocations: 167.7 kB / 0.7969 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.01024, allocations: 57.5 kB / 0.797 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.01052, allocations: 446.6 kB / 0.7974 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.01054, allocations: 33.7 kB / 0.7974 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01065, allocations: 271.1 kB / 0.7977 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.01069, allocations: 71.42 kB / 0.7978 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.01073, allocations: 35.38 kB / 0.7978 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.01086, allocations: 0.5318 MB / 0.7983 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.0109, allocations: 24.52 kB / 0.7983 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.01094, allocations: 30 kB / 0.7984 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.01103, allocations: 73.48 kB / 0.7984 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01103, allocations: 0 / 0.7984 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000141/0.01117, allocations: 151.5 kB / 0.7986 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.01118, allocations: 8 kB / 0.7986 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.01118, allocations: 3.938 kB / 0.7986 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.01119, allocations: 4.594 kB / 0.7986 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.01133, allocations: 48.62 kB / 0.7986 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01133, allocations: 0.8438 kB / 0.7986 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.01139, allocations: 19.81 kB / 0.7987 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.0114, allocations: 7.438 kB / 0.7987 GB, free: 444 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.001e-05/0.01148, allocations: 168.5 kB / 0.7988 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.01151, allocations: 39.77 kB / 0.7989 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.01155, allocations: 39.39 kB / 0.7989 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01156, allocations: 4 kB / 0.7989 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01156, allocations: 0 / 0.7989 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01156, allocations: 3.938 kB / 0.7989 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.0118, allocations: 300.5 kB / 0.7992 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01181, allocations: 3.984 kB / 0.7992 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.01193, allocations: 53.44 kB / 0.7992 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01193, allocations: 0 / 0.7992 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.01195, allocations: 4 kB / 0.7993 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01195, allocations: 1 kB / 0.7993 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01195, allocations: 0 / 0.7993 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.0122, allocations: 329.7 kB / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.01224, allocations: 44.81 kB / 0.7996 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.01226, allocations: 4 kB / 0.7996 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.01233, allocations: 5.125 kB / 0.7996 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.01236, allocations: 19.88 kB / 0.7996 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.01237, allocations: 4 kB / 0.7996 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001713/0.01254, allocations: 284.3 kB / 0.7999 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01254, allocations: 0 / 0.7999 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000198/0.01274, allocations: 79.83 kB / 0.8 GB, free: 15.02 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 6.922e-05/0.01281, allocations: 109 kB / 0.8001 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.01294, allocations: 84.47 kB / 0.8002 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01294, allocations: 0 / 0.8002 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.013, allocations: 63.53 kB / 0.8002 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.0133, allocations: 89.61 kB / 0.8003 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.01416, allocations: 0.6544 MB / 0.801 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.01422, allocations: 104.3 kB / 0.8011 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.095e-05/0.01429, allocations: 26.97 kB / 0.8011 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.01434, allocations: 24.5 kB / 0.8011 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.01434, allocations: 0 / 0.8011 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.005602/0.01994, allocations: 3.875 MB / 0.8049 GB, free: 10.07 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.6415716339834034]