Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009004/0.0009004, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009848/0.0009848, allocations: 169 kB / 23.02 MB, free: 1.543 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.9197/0.9197, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.9/1.9, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8783 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.23e-05, allocations: 5.266 kB / 0.8783 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002675/0.002697, allocations: 1.514 MB / 0.8798 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004541/0.007238, allocations: 2.836 MB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.007285, allocations: 0 / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.007315, allocations: 8.641 kB / 0.8825 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.007386, allocations: 15.8 kB / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.01153, allocations: 1.657 MB / 0.8842 GB, free: 216 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.01163, allocations: 51.61 kB / 0.8842 GB, free: 164 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.01168, allocations: 4 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.01171, allocations: 15.98 kB / 0.8842 GB, free: 144 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.49e-05/0.01173, allocations: 15.94 kB / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.01175, allocations: 0 / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.01321, allocations: 1.493 MB / 0.8857 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.01322, allocations: 0 / 0.8857 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.01324, allocations: 15.92 kB / 0.8857 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.01442, allocations: 1.286 MB / 0.887 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01442, allocations: 4 kB / 0.887 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01442, allocations: 0 / 0.887 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.01443, allocations: 0 / 0.887 GB, free: 13.32 MB / 0.8542 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.0004646/0.01489, allocations: 0.5605 MB / 0.8875 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.01493, allocations: 12.03 kB / 0.8875 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.01498, allocations: 128.1 kB / 0.8877 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.01508, allocations: 239.8 kB / 0.8879 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.01513, allocations: 238.8 kB / 0.8881 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.01518, allocations: 238.8 kB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.371e-05/0.01523, allocations: 149.5 kB / 0.8885 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.01525, allocations: 123.4 kB / 0.8886 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.0153, allocations: 254.4 kB / 0.8888 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.01535, allocations: 242.3 kB / 0.8891 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.01539, allocations: 238.4 kB / 0.8893 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.01559, allocations: 0.5914 MB / 0.8899 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.01567, allocations: 261.4 kB / 0.8901 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.0157, allocations: 126.9 kB / 0.8903 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.01572, allocations: 127.1 kB / 0.8904 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.01576, allocations: 152.6 kB / 0.8905 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.01576, allocations: 0 / 0.8905 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.184e-05/0.01581, allocations: 33.69 kB / 0.8906 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.01586, allocations: 182.5 kB / 0.8907 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.01597, allocations: 189.9 kB / 0.8909 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.01597, allocations: 25.7 kB / 0.8909 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.01602, allocations: 142.9 kB / 0.8911 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.01602, allocations: 0 / 0.8911 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.01604, allocations: 19.38 kB / 0.8911 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.01628, allocations: 0.4924 MB / 0.8916 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.01629, allocations: 3.984 kB / 0.8916 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.0163, allocations: 7.938 kB / 0.8916 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.01633, allocations: 15.69 kB / 0.8916 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01633, allocations: 0 / 0.8916 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.566e-05/0.01643, allocations: 49.69 kB / 0.8916 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.01644, allocations: 4 kB / 0.8916 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.01646, allocations: 7.984 kB / 0.8917 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.01647, allocations: 0 / 0.8917 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-06/0.01647, allocations: 3.938 kB / 0.8917 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01648, allocations: 0 / 0.8917 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.01649, allocations: 4 kB / 0.8917 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.0165, allocations: 3.984 kB / 0.8917 GB, free: 8.301 MB / 0.8542 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 7.531e-05/0.01657, allocations: 279.7 kB / 0.8919 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.01662, allocations: 152.8 kB / 0.8921 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.01666, allocations: 160.7 kB / 0.8922 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.872e-05/0.0167, allocations: 268 kB / 0.8925 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.204e-05/0.01676, allocations: 272.1 kB / 0.8927 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.016e-05/0.01681, allocations: 276 kB / 0.893 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.01695, allocations: 0.4921 MB / 0.8935 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/0.01698, allocations: 153 kB / 0.8936 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.017, allocations: 152.8 kB / 0.8938 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-05/0.01706, allocations: 272.1 kB / 0.894 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.01711, allocations: 268 kB / 0.8943 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.745e-05/0.01715, allocations: 264.1 kB / 0.8945 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-05/0.0172, allocations: 268.1 kB / 0.8948 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.01731, allocations: 459.8 kB / 0.8952 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.01734, allocations: 152.8 kB / 0.8954 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.0174, allocations: 264.1 kB / 0.8956 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.01745, allocations: 152.9 kB / 0.8958 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.0175, allocations: 272 kB / 0.896 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.01753, allocations: 144.9 kB / 0.8962 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.01757, allocations: 141.2 kB / 0.8963 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01757, allocations: 0 / 0.8963 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003932/0.01796, allocations: 299 kB / 0.8966 GB, free: 3.043 MB / 0.8542 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.0007284/0.01869, allocations: 0.6342 MB / 0.8972 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.01877, allocations: 49.31 kB / 0.8973 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01877, allocations: 4 kB / 0.8973 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.01877, allocations: 0 / 0.8973 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.01906, allocations: 0.7101 MB / 0.898 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.01931, allocations: 289.1 kB / 0.8982 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.886e-05/0.01934, allocations: 51.36 kB / 0.8983 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.081e-05/0.01935, allocations: 0 / 0.8983 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.01936, allocations: 12.5 kB / 0.8983 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.01936, allocations: 0 / 0.8983 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of Templates: time 0.00864/0.028, allocations: 8.047 MB / 0.9062 GB, free: 9.227 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.151586112100631]