Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.0008803/0.0008803, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0008805/0.0008805, allocations: 181 kB / 24.09 MB, free: 420 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.8629/0.8629, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.691/1.691, allocations: 359 MB / 0.6055 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.563e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001761/0.001777, allocations: 1.541 MB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.002734, allocations: 0.9035 MB / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.002797, allocations: 7.938 kB / 0.79 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.002969, allocations: 35.83 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.049e-05/0.002989, allocations: 23.78 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.003347, allocations: 198.9 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.003426, allocations: 51.66 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.799e-05/0.003454, allocations: 1.75 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.003535, allocations: 27.92 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/0.003556, allocations: 11.98 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.003567, allocations: 0 / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.003863, allocations: 165.1 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.003874, allocations: 7.922 kB / 0.7905 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.003891, allocations: 11.98 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.00407, allocations: 159.4 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004071, allocations: 1.938 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004072, allocations: 0 / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004075, allocations: 0 / 0.7906 GB, free: 9.035 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.0002426/0.004318, allocations: 392.2 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004353, allocations: 16.02 kB / 0.791 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.004401, allocations: 134.7 kB / 0.7912 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.00453, allocations: 243.7 kB / 0.7914 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.004581, allocations: 242.8 kB / 0.7916 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.004633, allocations: 242.7 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.31e-05/0.004686, allocations: 145.5 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.004712, allocations: 119.4 kB / 0.7921 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.004764, allocations: 247.3 kB / 0.7923 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.004816, allocations: 242.3 kB / 0.7926 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.737e-05/0.004874, allocations: 239.1 kB / 0.7928 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.00507, allocations: 0.5608 MB / 0.7933 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.00514, allocations: 273.8 kB / 0.7936 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.005168, allocations: 128.5 kB / 0.7937 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.005194, allocations: 123.2 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.00523, allocations: 152.6 kB / 0.794 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.005231, allocations: 0 / 0.794 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.933e-05/0.00528, allocations: 38.12 kB / 0.794 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.005325, allocations: 171.2 kB / 0.7942 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.005421, allocations: 207.7 kB / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.005429, allocations: 26.48 kB / 0.7944 GB, free: 5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.005471, allocations: 138.9 kB / 0.7945 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.005472, allocations: 1.156 kB / 0.7945 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.005497, allocations: 23.36 kB / 0.7946 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.005598, allocations: 0.4884 MB / 0.795 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-06/0.005607, allocations: 1.375 kB / 0.795 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.005615, allocations: 4 kB / 0.7951 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.005639, allocations: 15.67 kB / 0.7951 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005641, allocations: 0 / 0.7951 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.596e-05/0.005717, allocations: 54.5 kB / 0.7951 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-06/0.005726, allocations: 4 kB / 0.7951 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.00574, allocations: 4.781 kB / 0.7951 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.00575, allocations: 0 / 0.7951 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-06/0.005754, allocations: 5.266 kB / 0.7951 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.005757, allocations: 0 / 0.7951 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.005769, allocations: 3.938 kB / 0.7951 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.005773, allocations: 0 / 0.7951 GB, free: 4.23 MB / 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 (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.275e-05/0.005856, allocations: 276.6 kB / 0.7954 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.005899, allocations: 154.1 kB / 0.7955 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.005944, allocations: 156.6 kB / 0.7957 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/0.005997, allocations: 272.1 kB / 0.796 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-05/0.00605, allocations: 269.4 kB / 0.7962 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/0.006108, allocations: 276 kB / 0.7965 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.006253, allocations: 488.5 kB / 0.7969 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.006283, allocations: 148.8 kB / 0.7971 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.006318, allocations: 150.6 kB / 0.7972 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.405e-05/0.006372, allocations: 268 kB / 0.7975 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.006423, allocations: 264.1 kB / 0.7977 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-05/0.006474, allocations: 276 kB / 0.798 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-05/0.006526, allocations: 272 kB / 0.7983 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.006637, allocations: 454.5 kB / 0.7987 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.006674, allocations: 153.1 kB / 0.7988 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.006734, allocations: 272.1 kB / 0.7991 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.006801, allocations: 148.8 kB / 0.7992 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.006859, allocations: 268.1 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.006889, allocations: 152.8 kB / 0.7996 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.006932, allocations: 141.8 kB / 0.7998 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.006932, allocations: 0 / 0.7998 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001795/0.007111, allocations: 32.41 kB / 0.7998 GB, free: 15.27 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.0001817/0.007293, allocations: 267.4 kB / 0.8001 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.007358, allocations: 49.33 kB / 0.8001 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007359, allocations: 1.094 kB / 0.8001 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.007361, allocations: 0 / 0.8001 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.007666, allocations: 0.7068 MB / 0.8008 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.007883, allocations: 281 kB / 0.8011 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.77e-05/0.007911, allocations: 55.34 kB / 0.8011 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.007928, allocations: 7.906 kB / 0.8011 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.007972, allocations: 78.19 kB / 0.8012 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of SimCode: time 4.6e-07/0.007973, allocations: 0 / 0.8012 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of Templates: time 0.002861/0.01083, allocations: 1.837 MB / 0.803 GB, free: 11.96 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.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.504713172093034]