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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 112.8 kB / 16.41 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 189.6 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003024/1.121, allocations: 1.443 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00493/1.126, allocations: 2.907 MB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/1.126, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/1.126, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/1.126, allocations: 15.8 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004759/1.131, allocations: 1.586 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/1.131, allocations: 51.67 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/1.131, allocations: 4 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/1.131, allocations: 15.92 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/1.131, allocations: 23.86 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/1.131, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/1.134, allocations: 1.529 MB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/1.134, allocations: 7.984 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/1.134, allocations: 23.86 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/1.136, allocations: 1.113 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.136, allocations: 4 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.087e-05/1.136, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.136, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 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.000842/1.137, allocations: 0.5107 MB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.137, allocations: 12.92 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/1.137, allocations: 76.22 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/1.138, allocations: 262 kB / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/1.138, allocations: 158.9 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/1.138, allocations: 154.9 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.423e-05/1.138, allocations: 105.1 kB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.138, allocations: 75.28 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/1.138, allocations: 150.6 kB / 1.177 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-05/1.138, allocations: 158.5 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/1.138, allocations: 158.6 kB / 1.178 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/1.138, allocations: 465.8 kB / 1.178 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/1.138, allocations: 165.1 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/1.139, allocations: 80.14 kB / 1.178 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/1.139, allocations: 83.27 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/1.139, allocations: 113.7 kB / 1.179 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.139, allocations: 0 / 1.179 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.748e-05/1.139, allocations: 33.69 kB / 1.179 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/1.139, allocations: 126.7 kB / 1.179 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/1.139, allocations: 137.7 kB / 1.179 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/1.139, allocations: 29.64 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/1.139, allocations: 96.16 kB / 1.179 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/1.139, allocations: 0 / 1.179 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/1.139, allocations: 21.7 kB / 1.179 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.139, allocations: 314.8 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/1.139, allocations: 4 kB / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/1.139, allocations: 8 kB / 1.179 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/1.139, allocations: 16.78 kB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.139, allocations: 0 / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001362/1.139, allocations: 61.58 kB / 1.179 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.139, allocations: 4 kB / 1.179 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.14, allocations: 4 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.14, allocations: 0 / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/1.14, allocations: 0 / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.14, allocations: 0 / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/1.14, allocations: 11.92 kB / 1.179 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/1.14, allocations: 0 / 1.179 GB, free: 7.324 MB / 0.9044 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.0001057/1.14, allocations: 185.1 kB / 1.18 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/1.14, allocations: 116.8 kB / 1.18 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/1.14, allocations: 112.9 kB / 1.18 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-05/1.14, allocations: 192.1 kB / 1.18 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.614e-05/1.14, allocations: 176.3 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.799e-05/1.14, allocations: 180.3 kB / 1.18 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/1.14, allocations: 413.2 kB / 1.181 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/1.14, allocations: 113 kB / 1.181 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/1.14, allocations: 112.9 kB / 1.181 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.648e-05/1.14, allocations: 176.3 kB / 1.181 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/1.141, allocations: 176.3 kB / 1.181 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.754e-05/1.141, allocations: 180.2 kB / 1.181 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.181e-05/1.141, allocations: 184.3 kB / 1.182 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/1.141, allocations: 307.8 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/1.141, allocations: 185.9 kB / 1.182 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/1.141, allocations: 184.2 kB / 1.182 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/1.141, allocations: 105 kB / 1.182 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/1.141, allocations: 188.2 kB / 1.182 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/1.141, allocations: 109 kB / 1.183 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.597e-05/1.141, allocations: 97.77 kB / 1.183 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.141, allocations: 0 / 1.183 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009364/1.142, allocations: 283.8 kB / 1.183 GB, free: 3.398 MB / 0.9044 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.00134/1.144, allocations: 0.5344 MB / 1.183 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001146/1.144, allocations: 49.56 kB / 1.184 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.144, allocations: 0 / 1.184 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/1.144, allocations: 0 / 1.184 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/1.144, allocations: 463.7 kB / 1.184 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/1.145, allocations: 273.6 kB / 1.184 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.145, allocations: 0.6807 MB / 1.185 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/1.145, allocations: 7.438 kB / 1.185 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/1.145, allocations: 4 kB / 1.185 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of Templates: time 0.00878/1.154, allocations: 4.751 MB / 1.19 GB, free: 12.58 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) 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/jenkins1/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) Reference file matches