Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001353/0.001353, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001489/0.001489, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.8809/0.8809, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.659/1.659, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.252e-05, allocations: 6.25 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002098/0.002121, allocations: 1.504 MB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.005448, allocations: 2.77 MB / 0.7926 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.005501, allocations: 4 kB / 0.7926 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.005523, allocations: 3.938 kB / 0.7926 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.005586, allocations: 19.28 kB / 0.7926 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.008339, allocations: 1.638 MB / 0.7942 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.008454, allocations: 47.67 kB / 0.7943 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.00849, allocations: 7.984 kB / 0.7943 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.008526, allocations: 19.92 kB / 0.7943 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.008546, allocations: 8.625 kB / 0.7943 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.008556, allocations: 4 kB / 0.7943 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.01023, allocations: 1.495 MB / 0.7958 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.01024, allocations: 3.938 kB / 0.7958 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.01027, allocations: 12 kB / 0.7958 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.01163, allocations: 1.29 MB / 0.797 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01163, allocations: 1.062 kB / 0.797 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01164, allocations: 0 / 0.797 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.01164, allocations: 0 / 0.797 GB, free: 3.336 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005071/0.01215, allocations: 0.5695 MB / 0.7976 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.01218, allocations: 8.031 kB / 0.7976 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.01223, allocations: 128.1 kB / 0.7977 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.01234, allocations: 240.6 kB / 0.7979 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.01239, allocations: 238.8 kB / 0.7982 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.01244, allocations: 239.7 kB / 0.7984 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.075e-05/0.01249, allocations: 149.4 kB / 0.7985 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.01252, allocations: 123.3 kB / 0.7987 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.01257, allocations: 246.5 kB / 0.7989 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-05/0.01261, allocations: 238.4 kB / 0.7991 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.01266, allocations: 238.4 kB / 0.7993 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.01286, allocations: 0.5725 MB / 0.7999 GB, free: 296 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.01295, allocations: 265.4 kB / 0.8002 GB, free: 16 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.01299, allocations: 130.9 kB / 0.8003 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.01302, allocations: 119.2 kB / 0.8004 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.01307, allocations: 152.6 kB / 0.8005 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.01307, allocations: 0 / 0.8005 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 6.296e-05/0.01313, allocations: 38.67 kB / 0.8006 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.0132, allocations: 170.6 kB / 0.8007 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01332, allocations: 195.5 kB / 0.8009 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.01333, allocations: 26.73 kB / 0.801 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.01338, allocations: 142.8 kB / 0.8011 GB, free: 15 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.01338, allocations: 0 / 0.8011 GB, free: 15 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.01341, allocations: 28.47 kB / 0.8011 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01354, allocations: 0.4962 MB / 0.8016 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.01356, allocations: 3.938 kB / 0.8016 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.01357, allocations: 5.031 kB / 0.8016 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.0136, allocations: 11.69 kB / 0.8016 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0136, allocations: 0 / 0.8016 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.502e-05/0.01369, allocations: 54.8 kB / 0.8017 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.0137, allocations: 4 kB / 0.8017 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.01372, allocations: 4 kB / 0.8017 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.01373, allocations: 1.625 kB / 0.8017 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.01373, allocations: 0 / 0.8017 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.01373, allocations: 7.875 kB / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.01375, allocations: 0 / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.01375, allocations: 4.781 kB / 0.8017 GB, free: 14.36 MB / 0.7605 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.944e-05/0.01384, allocations: 272.3 kB / 0.802 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.01389, allocations: 152.8 kB / 0.8021 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.01393, allocations: 161.8 kB / 0.8023 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-05/0.014, allocations: 272 kB / 0.8025 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/0.01405, allocations: 264.1 kB / 0.8028 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.578e-05/0.01412, allocations: 276.6 kB / 0.803 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.01428, allocations: 488.6 kB / 0.8035 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/0.01431, allocations: 149 kB / 0.8036 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.01435, allocations: 152.8 kB / 0.8038 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.658e-05/0.01441, allocations: 268.1 kB / 0.804 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.01447, allocations: 272 kB / 0.8043 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.585e-05/0.01454, allocations: 268.1 kB / 0.8046 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.176e-05/0.01459, allocations: 268 kB / 0.8048 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.01473, allocations: 451.9 kB / 0.8052 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.01477, allocations: 152.8 kB / 0.8054 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.01484, allocations: 268.1 kB / 0.8056 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.01489, allocations: 152.8 kB / 0.8058 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.01495, allocations: 272.1 kB / 0.8061 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.01498, allocations: 148.9 kB / 0.8062 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.01503, allocations: 145.1 kB / 0.8063 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.01503, allocations: 0 / 0.8063 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005763/0.0156, allocations: 291 kB / 0.8066 GB, free: 9.137 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0007869/0.01639, allocations: 0.6552 MB / 0.8072 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.01647, allocations: 45.39 kB / 0.8073 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01647, allocations: 0 / 0.8073 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-06/0.01647, allocations: 0 / 0.8073 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.01678, allocations: 0.7101 MB / 0.808 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.01701, allocations: 277.2 kB / 0.8082 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.01704, allocations: 59.28 kB / 0.8083 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.406e-05/0.01705, allocations: 4 kB / 0.8083 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.0171, allocations: 78.19 kB / 0.8084 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of SimCode: time 5.71e-07/0.0171, allocations: 0 / 0.8084 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of Templates: time 0.008696/0.0258, allocations: 7.349 MB / 0.8156 GB, free: 15.94 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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: 4.830776383634657]