Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001328/0.001328, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.00147/0.00147, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9199/0.9199, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.688/1.688, allocations: 359 MB / 0.6052 GB, free: 11 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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.301e-05, allocations: 4.703 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001857/0.00188, allocations: 1.493 MB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003276/0.005155, allocations: 2.791 MB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.005194, allocations: 0 / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.005216, allocations: 1.062 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.005276, allocations: 23.78 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.008148, allocations: 1.625 MB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.008239, allocations: 47.66 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.008275, allocations: 4 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.008316, allocations: 22.17 kB / 0.7931 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.138e-05/0.008338, allocations: 11.98 kB / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.00835, allocations: 0 / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.01037, allocations: 1.45 MB / 0.7945 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.01038, allocations: 11.92 kB / 0.7945 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.01042, allocations: 8.5 kB / 0.7945 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.0118, allocations: 1.255 MB / 0.7957 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01181, allocations: 1.906 kB / 0.7957 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.22e-07/0.01181, allocations: 0 / 0.7957 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.01181, allocations: 0 / 0.7957 GB, free: 3.652 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.0006085/0.01242, allocations: 0.557 MB / 0.7963 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01246, allocations: 8.031 kB / 0.7963 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.01252, allocations: 124.1 kB / 0.7964 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.01264, allocations: 241.8 kB / 0.7966 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.0127, allocations: 243.5 kB / 0.7969 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.01277, allocations: 242.8 kB / 0.7971 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.01285, allocations: 152.8 kB / 0.7972 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.01288, allocations: 119.4 kB / 0.7974 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.01294, allocations: 246.4 kB / 0.7976 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.744e-05/0.01301, allocations: 238.4 kB / 0.7978 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.01307, allocations: 242.4 kB / 0.7981 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.01333, allocations: 0.5798 MB / 0.7986 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.01342, allocations: 261.4 kB / 0.7989 GB, free: 332 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.01346, allocations: 134.8 kB / 0.799 GB, free: 192 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.01349, allocations: 119.2 kB / 0.7991 GB, free: 72 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.01354, allocations: 162.2 kB / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.01354, allocations: 0 / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 6.058e-05/0.01361, allocations: 29.7 kB / 0.7993 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.01366, allocations: 174.5 kB / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.01379, allocations: 196.8 kB / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.0138, allocations: 25.7 kB / 0.7997 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.01386, allocations: 142.9 kB / 0.7998 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.01386, allocations: 1.094 kB / 0.7998 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.0139, allocations: 19.38 kB / 0.7998 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.01403, allocations: 496.1 kB / 0.8003 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.01405, allocations: 9 kB / 0.8003 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.01406, allocations: 7.984 kB / 0.8003 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.0141, allocations: 17.08 kB / 0.8003 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.0141, allocations: 3.938 kB / 0.8003 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000113/0.01421, allocations: 41.66 kB / 0.8004 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.01423, allocations: 4 kB / 0.8004 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.01425, allocations: 9.859 kB / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.01426, allocations: 0 / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.468e-06/0.01426, allocations: 3.938 kB / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01427, allocations: 0 / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.01429, allocations: 3.938 kB / 0.8004 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.01429, allocations: 5.094 kB / 0.8004 GB, free: 14.67 MB / 0.7605 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.0004077/0.0147, allocations: 279.7 kB / 0.8007 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.01475, allocations: 157.9 kB / 0.8008 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.01481, allocations: 156.7 kB / 0.801 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-05/0.01487, allocations: 268 kB / 0.8012 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.885e-05/0.01494, allocations: 268.7 kB / 0.8015 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/0.01501, allocations: 276 kB / 0.8017 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.01518, allocations: 0.4962 MB / 0.8022 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.511e-05/0.01522, allocations: 156.9 kB / 0.8024 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.01525, allocations: 148.8 kB / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.449e-05/0.0153, allocations: 264.1 kB / 0.8028 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.01538, allocations: 272 kB / 0.803 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.702e-05/0.01543, allocations: 264.1 kB / 0.8033 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.134e-05/0.01549, allocations: 268.1 kB / 0.8035 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.01563, allocations: 451.9 kB / 0.804 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.01567, allocations: 156.8 kB / 0.8041 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.01574, allocations: 264.1 kB / 0.8044 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.01579, allocations: 156.9 kB / 0.8045 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.01586, allocations: 276 kB / 0.8048 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.0159, allocations: 144.9 kB / 0.8049 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.01595, allocations: 141.5 kB / 0.8051 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01595, allocations: 0 / 0.8051 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005695/0.01652, allocations: 291 kB / 0.8053 GB, free: 9.418 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.0008287/0.01735, allocations: 0.6212 MB / 0.8059 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.334e-05/0.01744, allocations: 53.33 kB / 0.806 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01744, allocations: 0 / 0.806 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.01744, allocations: 0 / 0.806 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.0178, allocations: 0.714 MB / 0.8067 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.0181, allocations: 273.1 kB / 0.807 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.01814, allocations: 59.34 kB / 0.807 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.124e-05/0.01815, allocations: 4.062 kB / 0.807 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.01816, allocations: 8.5 kB / 0.807 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.01817, allocations: 0 / 0.807 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of Templates: time 0.007689/0.02585, allocations: 5.813 MB / 0.8127 GB, free: 1.859 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.926744116004556]