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.InternalResistancesOneUTubeNegative.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.0009284/0.0009284, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001461/0.001461, allocations: 173 kB / 23.49 MB, free: 1.059 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.9595/0.9595, allocations: 177.1 MB / 203.8 MB, free: 5.621 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 2.044/2.044, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] 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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8783 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.444e-05, allocations: 4.5 kB / 0.8783 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002601/0.002626, allocations: 1.496 MB / 0.8798 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004644/0.00727, allocations: 2.789 MB / 0.8825 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.007311, allocations: 0 / 0.8825 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.007335, allocations: 3.938 kB / 0.8825 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.0074, allocations: 20.91 kB / 0.8825 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.01116, allocations: 1.613 MB / 0.8841 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.01126, allocations: 47.67 kB / 0.8841 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.01131, allocations: 3.984 kB / 0.8841 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.01136, allocations: 19.92 kB / 0.8841 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.01139, allocations: 23.97 kB / 0.8842 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.0114, allocations: 0 / 0.8842 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.01362, allocations: 1.442 MB / 0.8856 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.01364, allocations: 19.91 kB / 0.8856 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.01367, allocations: 8 kB / 0.8856 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.01525, allocations: 1.251 MB / 0.8868 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.01526, allocations: 0 / 0.8868 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.313e-06/0.01526, allocations: 0 / 0.8868 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.01527, allocations: 0 / 0.8868 GB, free: 13.82 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.0005956/0.01586, allocations: 0.5606 MB / 0.8874 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.0159, allocations: 8.031 kB / 0.8874 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.01596, allocations: 132 kB / 0.8875 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.01608, allocations: 235.8 kB / 0.8877 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.01614, allocations: 242.8 kB / 0.888 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.01619, allocations: 242.7 kB / 0.8882 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.957e-05/0.01625, allocations: 145.5 kB / 0.8883 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.01628, allocations: 119.4 kB / 0.8884 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.01634, allocations: 246.5 kB / 0.8887 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.01639, allocations: 238.4 kB / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.01645, allocations: 242.3 kB / 0.8891 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.01668, allocations: 0.5837 MB / 0.8897 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.238e-05/0.01676, allocations: 265.4 kB / 0.89 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.0168, allocations: 126.9 kB / 0.8901 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.01682, allocations: 119.2 kB / 0.8902 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.01686, allocations: 160.6 kB / 0.8904 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.01686, allocations: 0 / 0.8904 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.546e-05/0.01692, allocations: 37.59 kB / 0.8904 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.01697, allocations: 174.5 kB / 0.8906 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.01709, allocations: 187.9 kB / 0.8907 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.0171, allocations: 25.7 kB / 0.8908 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.01715, allocations: 142.9 kB / 0.8909 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.01715, allocations: 0 / 0.8909 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.01718, allocations: 23.36 kB / 0.8909 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01728, allocations: 0.4884 MB / 0.8914 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.0173, allocations: 0 / 0.8914 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.01731, allocations: 7.984 kB / 0.8914 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.01734, allocations: 19.62 kB / 0.8914 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01734, allocations: 0 / 0.8914 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.01745, allocations: 41.66 kB / 0.8915 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01746, allocations: 4 kB / 0.8915 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.01748, allocations: 7.984 kB / 0.8915 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01749, allocations: 4.062 kB / 0.8915 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.01749, allocations: 7.875 kB / 0.8915 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.0175, allocations: 0 / 0.8915 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.01751, allocations: 7.984 kB / 0.8915 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.01752, allocations: 0 / 0.8915 GB, free: 8.828 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 8.748e-05/0.01761, allocations: 275.8 kB / 0.8918 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.01765, allocations: 156.8 kB / 0.8919 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.0177, allocations: 160.7 kB / 0.8921 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-05/0.01776, allocations: 268.1 kB / 0.8923 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.366e-05/0.01782, allocations: 276 kB / 0.8926 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.01788, allocations: 268.1 kB / 0.8928 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.01804, allocations: 0.4998 MB / 0.8933 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/0.01807, allocations: 145 kB / 0.8935 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.01811, allocations: 152.9 kB / 0.8936 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-05/0.01817, allocations: 272 kB / 0.8939 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.01823, allocations: 264.1 kB / 0.8941 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.044e-05/0.01829, allocations: 272 kB / 0.8944 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.078e-05/0.01835, allocations: 272.1 kB / 0.8946 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.01847, allocations: 455.9 kB / 0.8951 GB, free: 5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.01851, allocations: 152.8 kB / 0.8952 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.01858, allocations: 268 kB / 0.8955 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.01864, allocations: 160.9 kB / 0.8956 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.0187, allocations: 272 kB / 0.8959 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.01873, allocations: 144.9 kB / 0.896 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.01878, allocations: 141.8 kB / 0.8962 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01878, allocations: 0 / 0.8962 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004238/0.0192, allocations: 291 kB / 0.8964 GB, free: 3.566 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.0007362/0.01994, allocations: 0.6238 MB / 0.897 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.02003, allocations: 45.39 kB / 0.8971 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02003, allocations: 0 / 0.8971 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.02003, allocations: 3.938 kB / 0.8971 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.02035, allocations: 0.7139 MB / 0.8978 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.0206, allocations: 281.1 kB / 0.8981 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.049e-05/0.02063, allocations: 59.41 kB / 0.8981 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.093e-05/0.02064, allocations: 0 / 0.8981 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.02065, allocations: 12.5 kB / 0.8981 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.02065, allocations: 0 / 0.8981 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of Templates: time 0.006795/0.02745, allocations: 5.815 MB / 0.9038 GB, free: 12 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.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.278232055017725]