Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002649/0.002649, allocations: 193.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 443.5 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.89 kB / 1.062 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9211/0.9231, allocations: 160.8 MB / 1.219 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002604/0.9257, allocations: 1.454 MB / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.9303, allocations: 2.942 MB / 1.223 GB, free: 204 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.9304, allocations: 0 / 1.223 GB, free: 204 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.9304, allocations: 7.922 kB / 1.223 GB, free: 196 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.9305, allocations: 14.36 kB / 1.223 GB, free: 184 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.9347, allocations: 1.652 MB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.885e-05/0.9348, allocations: 42.83 kB / 1.225 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.9349, allocations: 6.188 kB / 1.225 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.9349, allocations: 12.09 kB / 1.225 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.9349, allocations: 23.59 kB / 1.225 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.9349, allocations: 1.062 kB / 1.225 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.9378, allocations: 1.74 MB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.9378, allocations: 1.906 kB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.9378, allocations: 19.31 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.9395, allocations: 1.151 MB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9395, allocations: 0 / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9395, allocations: 4 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.9395, allocations: 0 / 1.227 GB, free: 13.3 MB / 0.9356 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.0007108/0.9403, allocations: 0.5319 MB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.9403, allocations: 9.438 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.9404, allocations: 82.92 kB / 1.228 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.9406, allocations: 246.6 kB / 1.228 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.9407, allocations: 150.9 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/0.9408, allocations: 156.2 kB / 1.229 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.681e-05/0.9408, allocations: 110.4 kB / 1.229 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.9409, allocations: 79.27 kB / 1.229 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.9409, allocations: 154.5 kB / 1.229 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/0.941, allocations: 150.6 kB / 1.229 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.015e-05/0.9411, allocations: 155.9 kB / 1.229 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.9416, allocations: 466.1 kB / 1.23 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.9417, allocations: 166.5 kB / 1.23 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.9417, allocations: 80.14 kB / 1.23 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.9417, allocations: 79.22 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.9418, allocations: 119.1 kB / 1.23 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9418, allocations: 0 / 1.23 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.354e-05/0.9419, allocations: 32.38 kB / 1.23 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.942, allocations: 128 kB / 1.23 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.9422, allocations: 131.4 kB / 1.23 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.9422, allocations: 25.7 kB / 1.23 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.9423, allocations: 98.86 kB / 1.23 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/0.9423, allocations: 7.984 kB / 1.23 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.9423, allocations: 19.06 kB / 1.23 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9425, allocations: 316.1 kB / 1.231 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.9425, allocations: 8.125 kB / 1.231 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.9426, allocations: 10.72 kB / 1.231 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.9426, allocations: 15.52 kB / 1.231 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9426, allocations: 0 / 1.231 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.9427, allocations: 52.41 kB / 1.231 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.9428, allocations: 9 kB / 1.231 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.9428, allocations: 2.688 kB / 1.231 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9428, allocations: 1.312 kB / 1.231 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.9428, allocations: 0 / 1.231 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.9428, allocations: 0 / 1.231 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.9428, allocations: 9.141 kB / 1.231 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.9428, allocations: 5.219 kB / 1.231 GB, free: 9.684 MB / 0.9356 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.0001318/0.943, allocations: 192.5 kB / 1.231 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.943, allocations: 128.7 kB / 1.231 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.122e-05/0.9431, allocations: 114 kB / 1.231 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-05/0.9432, allocations: 181.7 kB / 1.231 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.065e-05/0.9433, allocations: 177.4 kB / 1.232 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.853e-05/0.9434, allocations: 177.6 kB / 1.232 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.9437, allocations: 419.3 kB / 1.232 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-05/0.9437, allocations: 110.1 kB / 1.232 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.9438, allocations: 106.3 kB / 1.232 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/0.9439, allocations: 176.3 kB / 1.233 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.944, allocations: 181.8 kB / 1.233 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.444e-05/0.9441, allocations: 185.6 kB / 1.233 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.335e-05/0.9442, allocations: 185.5 kB / 1.233 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.9443, allocations: 300 kB / 1.233 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.9444, allocations: 196.8 kB / 1.234 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.9446, allocations: 185.9 kB / 1.234 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.9447, allocations: 101 kB / 1.234 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.9448, allocations: 185.6 kB / 1.234 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.9448, allocations: 102 kB / 1.234 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.9449, allocations: 103.3 kB / 1.234 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9449, allocations: 0 / 1.234 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000876/0.9458, allocations: 290 kB / 1.234 GB, free: 5.992 MB / 0.9356 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.001099/0.9469, allocations: 0.5356 MB / 1.235 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.947, allocations: 37.8 kB / 1.235 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.947, allocations: 0 / 1.235 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.947, allocations: 1.469 kB / 1.235 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.9474, allocations: 471.2 kB / 1.236 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.9478, allocations: 235.8 kB / 1.236 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.9482, allocations: 0.685 MB / 1.236 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.291e-05/0.9482, allocations: 1.25 kB / 1.236 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.9482, allocations: 8.969 kB / 1.236 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.9482, allocations: 4 kB / 1.236 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of Templates: time 0.0106/0.9588, allocations: 5.647 MB / 1.242 GB, free: 14.81 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.298396558500826]