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.0009721/0.0009721, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001734/0.001734, allocations: 173 kB / 23.49 MB, free: 1.055 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.9381/0.9381, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.022/2.022, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.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 2.104e-06/2.104e-06, allocations: 0 / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.205e-05, allocations: 3.406 kB / 0.8783 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002523/0.002545, allocations: 1.503 MB / 0.8798 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004845/0.00739, allocations: 2.781 MB / 0.8825 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.007432, allocations: 0 / 0.8825 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.007458, allocations: 4.969 kB / 0.8825 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.007526, allocations: 19.84 kB / 0.8825 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.01129, allocations: 1.632 MB / 0.8841 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.01139, allocations: 47.66 kB / 0.8841 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.01142, allocations: 4 kB / 0.8841 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.01147, allocations: 15.92 kB / 0.8841 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.856e-05/0.01149, allocations: 11.98 kB / 0.8842 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.01151, allocations: 0 / 0.8842 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.01299, allocations: 1.462 MB / 0.8856 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.013, allocations: 7.922 kB / 0.8856 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.01302, allocations: 12 kB / 0.8856 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.01407, allocations: 1.251 MB / 0.8868 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01408, allocations: 7.984 kB / 0.8868 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01408, allocations: 0 / 0.8868 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.01408, allocations: 0 / 0.8868 GB, free: 13.84 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.0004018/0.01448, allocations: 0.5528 MB / 0.8874 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.01451, allocations: 8.031 kB / 0.8874 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.01457, allocations: 128.1 kB / 0.8875 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.01467, allocations: 235.8 kB / 0.8877 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.01473, allocations: 242.8 kB / 0.888 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.01478, allocations: 238.8 kB / 0.8882 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.689e-05/0.01484, allocations: 157.4 kB / 0.8883 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.01486, allocations: 119.4 kB / 0.8885 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.01492, allocations: 242.5 kB / 0.8887 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.01497, allocations: 238.4 kB / 0.8889 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.01502, allocations: 242.4 kB / 0.8891 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.01524, allocations: 0.5798 MB / 0.8897 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/0.01531, allocations: 265.4 kB / 0.89 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.01534, allocations: 130.9 kB / 0.8901 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.01537, allocations: 123.2 kB / 0.8902 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.01541, allocations: 156.6 kB / 0.8904 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.01541, allocations: 0 / 0.8904 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.559e-05/0.01547, allocations: 37.66 kB / 0.8904 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.01552, allocations: 174.5 kB / 0.8906 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.01563, allocations: 191.7 kB / 0.8907 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.01564, allocations: 25.7 kB / 0.8908 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.01568, allocations: 134.9 kB / 0.8909 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.01569, allocations: 4 kB / 0.8909 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.01571, allocations: 23.36 kB / 0.8909 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.01581, allocations: 0.4884 MB / 0.8914 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.01582, allocations: 4 kB / 0.8914 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.01583, allocations: 3.984 kB / 0.8914 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/0.01586, allocations: 15.72 kB / 0.8914 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01586, allocations: 4 kB / 0.8914 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.219e-05/0.01596, allocations: 45.66 kB / 0.8915 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.01597, allocations: 4 kB / 0.8915 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.01598, allocations: 11.92 kB / 0.8915 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.01599, allocations: 0 / 0.8915 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.01599, allocations: 3.938 kB / 0.8915 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.016, allocations: 8 kB / 0.8915 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.01601, allocations: 3.984 kB / 0.8915 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.01602, allocations: 4 kB / 0.8915 GB, free: 8.84 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.764e-05/0.0161, allocations: 275.8 kB / 0.8918 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.01614, allocations: 152.8 kB / 0.8919 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.01618, allocations: 160.6 kB / 0.8921 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/0.01624, allocations: 268.1 kB / 0.8923 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-05/0.01629, allocations: 268 kB / 0.8926 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/0.01635, allocations: 268 kB / 0.8928 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.0165, allocations: 0.496 MB / 0.8933 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/0.01653, allocations: 157 kB / 0.8935 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.01657, allocations: 156.9 kB / 0.8936 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.317e-05/0.01662, allocations: 264.1 kB / 0.8939 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.01668, allocations: 272 kB / 0.8941 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.203e-05/0.01673, allocations: 264.1 kB / 0.8944 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.237e-05/0.01678, allocations: 268 kB / 0.8946 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.0169, allocations: 455.9 kB / 0.8951 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.01694, allocations: 156.8 kB / 0.8952 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.01699, allocations: 264.1 kB / 0.8955 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.01705, allocations: 152.8 kB / 0.8956 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.01711, allocations: 276 kB / 0.8959 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.01714, allocations: 148.9 kB / 0.896 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.01718, allocations: 145.3 kB / 0.8962 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01718, allocations: 0 / 0.8962 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004174/0.0176, allocations: 291 kB / 0.8964 GB, free: 3.586 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.0006989/0.0183, allocations: 0.6143 MB / 0.897 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.01837, allocations: 41.39 kB / 0.8971 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01837, allocations: 4.062 kB / 0.8971 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.01838, allocations: 4 kB / 0.8971 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01869, allocations: 0.7106 MB / 0.8978 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.01893, allocations: 277.1 kB / 0.898 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.023e-05/0.01896, allocations: 55.36 kB / 0.8981 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.387e-06/0.01897, allocations: 0 / 0.8981 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.113e-05/0.01898, allocations: 12.5 kB / 0.8981 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.01898, allocations: 0 / 0.8981 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of Templates: time 0.006467/0.02545, allocations: 5.825 MB / 0.9038 GB, free: 12.03 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.175201294012368]