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.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.0009753/0.0009753, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009453/0.0009453, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.8617/0.8617, 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.93/1.93, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 4.703 kB / 0.8783 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.666e-05, allocations: 4.984 kB / 0.8783 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002533/0.00255, allocations: 1.494 MB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004613/0.007163, allocations: 2.801 MB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.007222, allocations: 0 / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.007259, allocations: 8.703 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.007333, allocations: 5.562 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.01152, allocations: 1.64 MB / 0.8841 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.885e-05/0.01162, allocations: 47.67 kB / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.01165, allocations: 3.938 kB / 0.8841 GB, free: 252 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.0117, allocations: 19.98 kB / 0.8842 GB, free: 232 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.547e-05/0.01173, allocations: 11.94 kB / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.01174, allocations: 0 / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.01426, allocations: 1.462 MB / 0.8856 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.01428, allocations: 3.938 kB / 0.8856 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.01431, allocations: 8 kB / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.01605, allocations: 1.259 MB / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01605, allocations: 0 / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01605, allocations: 0 / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01606, allocations: 3.938 kB / 0.8868 GB, free: 13.47 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.0006332/0.01669, allocations: 0.5528 MB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.01673, allocations: 8.031 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.0168, allocations: 128.1 kB / 0.8875 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.01693, allocations: 239.7 kB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.017, allocations: 238.8 kB / 0.888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.01706, allocations: 242.8 kB / 0.8882 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.73e-05/0.01713, allocations: 149.4 kB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.01716, allocations: 119.4 kB / 0.8885 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.01723, allocations: 242.5 kB / 0.8887 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/0.01729, allocations: 246.4 kB / 0.8889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.01735, allocations: 238.4 kB / 0.8891 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.01764, allocations: 0.5798 MB / 0.8897 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.01774, allocations: 273.4 kB / 0.89 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.01778, allocations: 126.9 kB / 0.8901 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.01781, allocations: 123.2 kB / 0.8902 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.01786, allocations: 152.6 kB / 0.8904 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.01786, allocations: 0 / 0.8904 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.005e-05/0.01793, allocations: 33.66 kB / 0.8904 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.01799, allocations: 178.5 kB / 0.8906 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.01813, allocations: 196.4 kB / 0.8907 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.01814, allocations: 25.7 kB / 0.8908 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.0182, allocations: 134.9 kB / 0.8909 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.0182, allocations: 0 / 0.8909 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.01824, allocations: 23.38 kB / 0.8909 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01838, allocations: 0.4923 MB / 0.8914 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.01839, allocations: 4 kB / 0.8914 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.01841, allocations: 4 kB / 0.8914 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.01844, allocations: 11.69 kB / 0.8914 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01845, allocations: 0 / 0.8914 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001272/0.01857, allocations: 49.58 kB / 0.8915 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01859, allocations: 4 kB / 0.8915 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.01861, allocations: 4 kB / 0.8915 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.01862, allocations: 0 / 0.8915 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-06/0.01863, allocations: 3.938 kB / 0.8915 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.01863, allocations: 0 / 0.8915 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.01866, allocations: 12.05 kB / 0.8915 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.01866, allocations: 0 / 0.8915 GB, free: 8.488 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 0.000109/0.01877, allocations: 283.8 kB / 0.8918 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.01909, allocations: 152.8 kB / 0.8919 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.01914, allocations: 160.6 kB / 0.8921 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.499e-05/0.0192, allocations: 264.1 kB / 0.8923 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.037e-05/0.01927, allocations: 276 kB / 0.8926 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.982e-05/0.01934, allocations: 272 kB / 0.8928 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.01956, allocations: 0.496 MB / 0.8933 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/0.0196, allocations: 149 kB / 0.8935 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.01964, allocations: 153 kB / 0.8936 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-05/0.01972, allocations: 268.1 kB / 0.8939 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.01979, allocations: 284 kB / 0.8941 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.546e-05/0.01985, allocations: 264.1 kB / 0.8944 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-05/0.01992, allocations: 272 kB / 0.8946 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.02006, allocations: 451.8 kB / 0.8951 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.02011, allocations: 156.8 kB / 0.8952 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.02019, allocations: 264.1 kB / 0.8955 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.02027, allocations: 152.8 kB / 0.8956 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.02035, allocations: 268 kB / 0.8959 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.02039, allocations: 152.8 kB / 0.896 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.02045, allocations: 145.5 kB / 0.8962 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02045, allocations: 0 / 0.8962 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007285/0.02118, allocations: 295 kB / 0.8964 GB, free: 3.215 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.001054/0.02223, allocations: 0.6065 MB / 0.897 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.02233, allocations: 45.38 kB / 0.8971 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02233, allocations: 0 / 0.8971 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.02233, allocations: 4.062 kB / 0.8971 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.02279, allocations: 0.7178 MB / 0.8978 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.02309, allocations: 277.6 kB / 0.8981 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.02313, allocations: 55.36 kB / 0.8981 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.25e-05/0.02314, allocations: 0 / 0.8981 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.02316, allocations: 12.5 kB / 0.8981 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.02316, allocations: 4 kB / 0.8981 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of Templates: time 0.01384/0.037, allocations: 7.838 MB / 0.9058 GB, free: 9.629 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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: 5.05652780411765]