Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001483/0.001483, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001487/0.001487, allocations: 187 kB / 17.34 MB, free: 5.766 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.89 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9863/0.9879, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003142/0.9911, allocations: 1.449 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00502/0.9961, allocations: 2.898 MB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.9962, allocations: 0 / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.9963, allocations: 3.938 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.9964, allocations: 19.84 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/1.001, allocations: 1.578 MB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/1.001, allocations: 51.66 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/1.001, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/1.001, allocations: 19.92 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/1.001, allocations: 15.88 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/1.001, allocations: 4 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/1.004, allocations: 1.537 MB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/1.004, allocations: 3.984 kB / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/1.004, allocations: 15.88 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/1.007, allocations: 1.113 MB / 1.217 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.007, allocations: 0 / 1.217 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/1.007, allocations: 0 / 1.217 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.007, allocations: 4 kB / 1.217 GB, free: 4.926 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.0007711/1.007, allocations: 0.5146 MB / 1.218 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.007, allocations: 8.031 kB / 1.218 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/1.007, allocations: 80.22 kB / 1.218 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/1.008, allocations: 259.4 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/1.008, allocations: 154.9 kB / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/1.008, allocations: 154.9 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.603e-05/1.008, allocations: 109.1 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.008, allocations: 75.28 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/1.008, allocations: 150.6 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/1.008, allocations: 150.6 kB / 1.219 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/1.008, allocations: 154.5 kB / 1.219 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/1.008, allocations: 469.8 kB / 1.219 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/1.008, allocations: 169.1 kB / 1.219 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/1.008, allocations: 84.14 kB / 1.219 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/1.008, allocations: 79.22 kB / 1.22 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/1.009, allocations: 113.8 kB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.009, allocations: 0 / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.805e-05/1.009, allocations: 37.62 kB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/1.009, allocations: 126.7 kB / 1.22 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/1.009, allocations: 135.6 kB / 1.22 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/1.009, allocations: 25.7 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/1.009, allocations: 88.16 kB / 1.22 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-06/1.009, allocations: 8 kB / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/1.009, allocations: 21.7 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.009, allocations: 318.8 kB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/1.009, allocations: 0 / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/1.009, allocations: 7.984 kB / 1.22 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/1.009, allocations: 16.86 kB / 1.22 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.009, allocations: 0 / 1.22 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001449/1.009, allocations: 57.48 kB / 1.22 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.009, allocations: 4 kB / 1.22 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/1.009, allocations: 12.05 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.009, allocations: 0 / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/1.009, allocations: 0 / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/1.009, allocations: 7.969 kB / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/1.009, allocations: 8 kB / 1.22 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/1.01, allocations: 4 kB / 1.22 GB, free: 1.152 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.0001136/1.01, allocations: 185.1 kB / 1.221 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/1.01, allocations: 116.8 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/1.01, allocations: 112.9 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.819e-05/1.01, allocations: 188.2 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.393e-05/1.01, allocations: 180.2 kB / 1.221 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-05/1.01, allocations: 180.3 kB / 1.221 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/1.01, allocations: 413.2 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/1.01, allocations: 108.9 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/1.01, allocations: 105 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.522e-05/1.01, allocations: 180.2 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/1.01, allocations: 184.3 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.682e-05/1.01, allocations: 180.2 kB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.529e-05/1.011, allocations: 176.3 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/1.011, allocations: 315.8 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/1.011, allocations: 185.9 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/1.011, allocations: 180.2 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/1.011, allocations: 109 kB / 1.223 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/1.011, allocations: 184.3 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/1.011, allocations: 104.9 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.644e-05/1.011, allocations: 105.1 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.011, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008857/1.012, allocations: 283.8 kB / 1.224 GB, free: 13.23 MB / 0.9512 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.001417/1.013, allocations: 0.5331 MB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001212/1.014, allocations: 45.69 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.014, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.846e-06/1.014, allocations: 4 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/1.014, allocations: 471.6 kB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/1.014, allocations: 257.7 kB / 1.225 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/1.015, allocations: 0.6807 MB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/1.015, allocations: 7.438 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/1.015, allocations: 0 / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of Templates: time 0.009463/1.024, allocations: 4.749 MB / 1.231 GB, free: 6.43 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches