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.InternalResistancesOneUTubeNegative.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.001772/0.001772, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002256/0.002256, allocations: 191.2 kB / 22.23 MB, free: 5.137 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.52/1.52, allocations: 225.6 MB / 251 MB, free: 13.05 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.734/2.734, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.89 kB / 1.062 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9479/0.95, allocations: 160.8 MB / 1.219 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.004605/0.9546, allocations: 1.443 MB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007038/0.9617, allocations: 2.899 MB / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.9618, allocations: 0.7188 kB / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.9618, allocations: 7.922 kB / 1.223 GB, free: 304 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.9619, allocations: 13.78 kB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.9686, allocations: 1.618 MB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.9688, allocations: 41.45 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.9688, allocations: 2.156 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/0.9689, allocations: 15.33 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.9689, allocations: 16.09 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.9689, allocations: 1.062 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.9725, allocations: 1.688 MB / 1.226 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.9725, allocations: 13 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.9726, allocations: 23.88 kB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.9746, allocations: 1.113 MB / 1.227 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9746, allocations: 0 / 1.227 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9746, allocations: 0 / 1.227 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.9746, allocations: 5.344 kB / 1.227 GB, free: 13.48 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.000772/0.9754, allocations: 0.5258 MB / 1.228 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.9754, allocations: 8.844 kB / 1.228 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.613e-05/0.9755, allocations: 82.77 kB / 1.228 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.9757, allocations: 258.8 kB / 1.228 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.9759, allocations: 154.9 kB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.9759, allocations: 152.2 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.9761, allocations: 106.6 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/0.9761, allocations: 75.28 kB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.9762, allocations: 158.5 kB / 1.229 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.9763, allocations: 150.6 kB / 1.229 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.9764, allocations: 155.9 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.9769, allocations: 465.4 kB / 1.229 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.977, allocations: 174.6 kB / 1.23 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.9771, allocations: 80.14 kB / 1.23 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.9771, allocations: 79.22 kB / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.952e-05/0.9772, allocations: 118.9 kB / 1.23 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.9772, allocations: 0 / 1.23 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.000102/0.9773, allocations: 36.3 kB / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.9774, allocations: 127.8 kB / 1.23 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.9776, allocations: 129.8 kB / 1.23 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.9776, allocations: 25.7 kB / 1.23 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.9777, allocations: 91.05 kB / 1.23 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.9777, allocations: 3.938 kB / 1.23 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.9777, allocations: 18.83 kB / 1.23 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.9779, allocations: 316.1 kB / 1.231 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.9779, allocations: 3.688 kB / 1.231 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.9779, allocations: 10.72 kB / 1.231 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.978, allocations: 17.72 kB / 1.231 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.978, allocations: 1.312 kB / 1.231 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000153/0.9781, allocations: 50.34 kB / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9782, allocations: 5 kB / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.9782, allocations: 2.906 kB / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9782, allocations: 1.094 kB / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.9782, allocations: 0 / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.9782, allocations: 3.984 kB / 1.231 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.9782, allocations: 1.188 kB / 1.231 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.9782, allocations: 5.5 kB / 1.231 GB, free: 9.867 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.0001377/0.9784, allocations: 190.4 kB / 1.231 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.9785, allocations: 119.5 kB / 1.231 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.9785, allocations: 111.5 kB / 1.231 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/0.9786, allocations: 185.6 kB / 1.231 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/0.9787, allocations: 180.2 kB / 1.231 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.907e-05/0.9788, allocations: 181.6 kB / 1.232 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.9791, allocations: 415.8 kB / 1.232 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.719e-05/0.9792, allocations: 106.1 kB / 1.232 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.9793, allocations: 110.4 kB / 1.232 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-05/0.9794, allocations: 176.3 kB / 1.232 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.9795, allocations: 181.5 kB / 1.233 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-05/0.9796, allocations: 181.3 kB / 1.233 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.081e-05/0.9796, allocations: 181.4 kB / 1.233 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.9799, allocations: 312.7 kB / 1.233 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.98, allocations: 188.2 kB / 1.233 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9801, allocations: 185.5 kB / 1.234 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9802, allocations: 105 kB / 1.234 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.9803, allocations: 181.3 kB / 1.234 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.9804, allocations: 106 kB / 1.234 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.9805, allocations: 98.8 kB / 1.234 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9805, allocations: 0 / 1.234 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001145/0.9816, allocations: 289.8 kB / 1.234 GB, free: 6.18 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.001181/0.9828, allocations: 0.519 MB / 1.235 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.9829, allocations: 36.58 kB / 1.235 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9829, allocations: 0 / 1.235 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.9829, allocations: 1.125 kB / 1.235 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.9834, allocations: 475.2 kB / 1.235 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.9838, allocations: 244.7 kB / 1.236 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.9842, allocations: 0.6795 MB / 1.236 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.9842, allocations: 5.188 kB / 1.236 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.9842, allocations: 12.44 kB / 1.236 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.9842, allocations: 1.094 kB / 1.236 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of Templates: time 0.01074/0.995, allocations: 5.47 MB / 1.242 GB, free: 15.16 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.598956730216742]