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.001415/0.001415, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001479/0.001479, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9354/0.9354, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.721/1.721, allocations: 359 MB / 0.6052 GB, free: 11.04 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.282e-06/1.282e-06, allocations: 0 / 0.7872 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.427e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002942/0.002957, allocations: 3.143 MB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.004983, allocations: 2.15 MB / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.005127, allocations: 4 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009926/0.006119, allocations: 471.6 kB / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.006307, allocations: 165.8 kB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.006422, allocations: 63.92 kB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.006768, allocations: 463.5 kB / 0.7934 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.00692, allocations: 101.4 kB / 0.7935 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.007183, allocations: 251.3 kB / 0.7938 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.007396, allocations: 139.6 kB / 0.7939 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.007428, allocations: 32 kB / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.103e-05/0.007469, allocations: 38.38 kB / 0.794 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.007551, allocations: 103.6 kB / 0.7941 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.007654, allocations: 143.7 kB / 0.7942 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.007906, allocations: 282.9 kB / 0.7945 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.007908, allocations: 0 / 0.7945 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.32e-07/0.007909, allocations: 0 / 0.7945 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.007914, allocations: 1.938 kB / 0.7945 GB, free: 4.941 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.000681/0.008595, allocations: 0.7451 MB / 0.7952 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.008625, allocations: 13.81 kB / 0.7952 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.008694, allocations: 60.66 kB / 0.7953 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.00911, allocations: 318.5 kB / 0.7956 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.009125, allocations: 19.19 kB / 0.7956 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.009159, allocations: 20.38 kB / 0.7956 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.009374, allocations: 161.4 kB / 0.7958 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.009385, allocations: 192 / 0.7958 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.0094, allocations: 8.375 kB / 0.7958 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.00941, allocations: 11.94 kB / 0.7958 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.009543, allocations: 79.45 kB / 0.7959 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.01024, allocations: 0.6882 MB / 0.7966 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.01038, allocations: 103.7 kB / 0.7966 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.01047, allocations: 59.66 kB / 0.7967 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.01048, allocations: 4.688 kB / 0.7967 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.0105, allocations: 38.55 kB / 0.7967 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.0105, allocations: 0 / 0.7967 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0002489/0.01075, allocations: 167.2 kB / 0.7969 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.01077, allocations: 53.28 kB / 0.797 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01107, allocations: 446.7 kB / 0.7974 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.01109, allocations: 25.7 kB / 0.7974 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.0112, allocations: 283.1 kB / 0.7977 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.01125, allocations: 63.44 kB / 0.7977 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.01129, allocations: 40.11 kB / 0.7978 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.01142, allocations: 0.5391 MB / 0.7983 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.01146, allocations: 25.02 kB / 0.7983 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.0115, allocations: 27.94 kB / 0.7984 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.288e-05/0.01159, allocations: 74.88 kB / 0.7984 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.0116, allocations: 0 / 0.7984 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001486/0.01175, allocations: 145.4 kB / 0.7986 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.01176, allocations: 5.094 kB / 0.7986 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.01176, allocations: 3.984 kB / 0.7986 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01177, allocations: 11.92 kB / 0.7986 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01193, allocations: 49.22 kB / 0.7986 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.01193, allocations: 0 / 0.7986 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.01199, allocations: 19.81 kB / 0.7987 GB, free: 500 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.012, allocations: 5.844 kB / 0.7987 GB, free: 496 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 7.902e-05/0.01208, allocations: 168.5 kB / 0.7988 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.01211, allocations: 35.77 kB / 0.7989 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.01215, allocations: 39.41 kB / 0.7989 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01216, allocations: 0.5625 kB / 0.7989 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.01216, allocations: 0.7812 kB / 0.7989 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01216, allocations: 3.984 kB / 0.7989 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.01264, allocations: 305.5 kB / 0.7992 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01264, allocations: 4 kB / 0.7992 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.01277, allocations: 51.97 kB / 0.7992 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01277, allocations: 0.6562 kB / 0.7992 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.01278, allocations: 4.844 kB / 0.7992 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.01279, allocations: 0 / 0.7992 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01279, allocations: 3.984 kB / 0.7992 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.01305, allocations: 340.1 kB / 0.7996 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.01309, allocations: 39.69 kB / 0.7996 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01311, allocations: 8 kB / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.01318, allocations: 0 / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.01321, allocations: 19.88 kB / 0.7996 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.01322, allocations: 4 kB / 0.7996 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001732/0.01339, allocations: 283.1 kB / 0.7999 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01339, allocations: 0 / 0.7999 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001906/0.01358, allocations: 71.89 kB / 0.8 GB, free: 15.08 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.948e-05/0.01365, allocations: 116.5 kB / 0.8001 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.01379, allocations: 83.59 kB / 0.8002 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01379, allocations: 4.031 kB / 0.8002 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.01386, allocations: 55.59 kB / 0.8002 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01417, allocations: 87 kB / 0.8003 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.01506, allocations: 0.6542 MB / 0.8009 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.747e-05/0.01511, allocations: 100.3 kB / 0.801 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.736e-05/0.01518, allocations: 34.95 kB / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.01523, allocations: 24.5 kB / 0.8011 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of SimCode: time 4.81e-07/0.01523, allocations: 0 / 0.8011 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of Templates: time 0.005358/0.02059, allocations: 3.663 MB / 0.8047 GB, free: 10.33 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.787326171994209]