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.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.0009044/0.0009044, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001049/0.001049, allocations: 161 kB / 23.82 MB, free: 0.75 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.8749/0.8749, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.69/1.69, allocations: 359 MB / 0.6052 GB, free: 10.98 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.985e-05, allocations: 8 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002736/0.002766, allocations: 1.501 MB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004618/0.007384, allocations: 2.83 MB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.007439, allocations: 0 / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.00747, allocations: 6.094 kB / 0.7914 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.007547, allocations: 19.84 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.01188, allocations: 1.652 MB / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.01199, allocations: 47.67 kB / 0.7931 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.01203, allocations: 4.703 kB / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.01208, allocations: 23.92 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.0121, allocations: 8.844 kB / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.01212, allocations: 0 / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.01514, allocations: 1.499 MB / 0.7946 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.01516, allocations: 4 kB / 0.7946 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.0152, allocations: 15.94 kB / 0.7946 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.01733, allocations: 1.274 MB / 0.7959 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01733, allocations: 0.8438 kB / 0.7959 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01734, allocations: 0 / 0.7959 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.01734, allocations: 0.9688 kB / 0.7959 GB, free: 3.5 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.000708/0.01805, allocations: 0.5686 MB / 0.7964 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.01809, allocations: 12.02 kB / 0.7965 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.01817, allocations: 129.5 kB / 0.7966 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.01831, allocations: 233.8 kB / 0.7968 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.01838, allocations: 238.8 kB / 0.797 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.01845, allocations: 246.8 kB / 0.7973 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.51e-05/0.01853, allocations: 146.7 kB / 0.7974 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.01856, allocations: 119.4 kB / 0.7975 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.675e-05/0.01863, allocations: 246.4 kB / 0.7978 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/0.01869, allocations: 239.5 kB / 0.798 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.01876, allocations: 242.4 kB / 0.7982 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.01907, allocations: 0.5875 MB / 0.7988 GB, free: 436 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.01942, allocations: 266.6 kB / 0.799 GB, free: 156 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.01946, allocations: 130.8 kB / 0.7992 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.01951, allocations: 119.2 kB / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.01956, allocations: 157.6 kB / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.01956, allocations: 0 / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 7.787e-05/0.01964, allocations: 34.16 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.01972, allocations: 178.5 kB / 0.7996 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01987, allocations: 193.9 kB / 0.7998 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.01988, allocations: 25.7 kB / 0.7998 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.01994, allocations: 138.9 kB / 0.8 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.01994, allocations: 0 / 0.8 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.01998, allocations: 27.91 kB / 0.8 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.02012, allocations: 0.4884 MB / 0.8005 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.02014, allocations: 9.281 kB / 0.8005 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.02016, allocations: 0 / 0.8005 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.0202, allocations: 23.67 kB / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0202, allocations: 1.031 kB / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001427/0.02034, allocations: 45.66 kB / 0.8006 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02036, allocations: 8 kB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.02038, allocations: 0.6562 kB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.02039, allocations: 0.5 kB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.907e-06/0.0204, allocations: 12 kB / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.02041, allocations: 2.812 kB / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.02043, allocations: 0 / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.02044, allocations: 0 / 0.8006 GB, free: 14.5 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.0001036/0.02054, allocations: 283.7 kB / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.02061, allocations: 148.8 kB / 0.801 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.02066, allocations: 152.7 kB / 0.8011 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.218e-05/0.02074, allocations: 272 kB / 0.8014 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.312e-05/0.02081, allocations: 278.2 kB / 0.8017 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.077e-05/0.02088, allocations: 268 kB / 0.8019 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.02111, allocations: 0.4961 MB / 0.8024 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.771e-05/0.02115, allocations: 148.9 kB / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.0212, allocations: 152.8 kB / 0.8027 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.523e-05/0.02127, allocations: 268.1 kB / 0.8029 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.02135, allocations: 269 kB / 0.8032 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-05/0.02142, allocations: 268.1 kB / 0.8035 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.576e-05/0.0215, allocations: 268.1 kB / 0.8037 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.02165, allocations: 459.8 kB / 0.8041 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.02171, allocations: 152.8 kB / 0.8043 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.562e-05/0.02179, allocations: 268.1 kB / 0.8045 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.02188, allocations: 144.9 kB / 0.8047 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.02196, allocations: 279.9 kB / 0.805 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.02201, allocations: 156.9 kB / 0.8051 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.02208, allocations: 143.1 kB / 0.8052 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02208, allocations: 0 / 0.8052 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008994/0.02298, allocations: 295 kB / 0.8055 GB, free: 9.23 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.001473/0.02445, allocations: 0.6319 MB / 0.8061 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.02457, allocations: 53.33 kB / 0.8062 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02457, allocations: 0 / 0.8062 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.02458, allocations: 0 / 0.8062 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.02504, allocations: 0.714 MB / 0.8069 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.02556, allocations: 281.1 kB / 0.8072 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.02562, allocations: 59.34 kB / 0.8072 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.02564, allocations: 0 / 0.8072 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.02566, allocations: 8.5 kB / 0.8072 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of SimCode: time 2.104e-06/0.02567, allocations: 0 / 0.8072 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of Templates: time 0.009235/0.0349, allocations: 8.039 MB / 0.8151 GB, free: 15.43 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.898077413905412]