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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009255/0.009255, allocations: 100.9 kB / 15.73 MB, free: 5.562 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.00192/0.00192, allocations: 195.1 kB / 16.67 MB, free: 5.504 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.31 kB / 1.054 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7549, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002418/0.7574, allocations: 1.43 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00394/0.7613, allocations: 2.863 MB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.7614, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.7615, allocations: 7.922 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.7615, allocations: 15.86 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.7649, allocations: 1.554 MB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.765, allocations: 39.73 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.7651, allocations: 11.78 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.7651, allocations: 15.94 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.523e-05/0.7651, allocations: 15.92 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.7651, allocations: 0 / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.7671, allocations: 1.482 MB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.7671, allocations: 11.92 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.7672, allocations: 23.86 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.7686, allocations: 1.07 MB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7686, allocations: 0 / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7686, allocations: 3.938 kB / 1.216 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7687, allocations: 0 / 1.216 GB, free: 5.051 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.0006679/0.7693, allocations: 0.5223 MB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7694, allocations: 12.03 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.7695, allocations: 76.22 kB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.7696, allocations: 247.5 kB / 1.217 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.7697, allocations: 154.9 kB / 1.217 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.7698, allocations: 150.9 kB / 1.217 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.205e-05/0.7698, allocations: 109.1 kB / 1.217 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.7699, allocations: 79.27 kB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.7699, allocations: 150.6 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.442e-05/0.77, allocations: 150.6 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.77, allocations: 158.5 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.7703, allocations: 465.8 kB / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.231e-05/0.7704, allocations: 177.1 kB / 1.218 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.7705, allocations: 84.14 kB / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.7705, allocations: 75.28 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/0.7706, allocations: 117.7 kB / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.7706, allocations: 0 / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.574e-05/0.7707, allocations: 29.7 kB / 1.219 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.7707, allocations: 130.6 kB / 1.219 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.7709, allocations: 136.1 kB / 1.219 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.7709, allocations: 25.7 kB / 1.219 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.771, allocations: 96.11 kB / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.771, allocations: 0 / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.771, allocations: 25.66 kB / 1.219 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7711, allocations: 314.8 kB / 1.219 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.7712, allocations: 4 kB / 1.219 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.7712, allocations: 7.984 kB / 1.219 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.7712, allocations: 16.8 kB / 1.22 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7712, allocations: 0 / 1.22 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.7714, allocations: 45.64 kB / 1.22 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.7714, allocations: 4 kB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.7714, allocations: 7.984 kB / 1.22 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7714, allocations: 4.062 kB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.7714, allocations: 0 / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.7715, allocations: 0 / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.7715, allocations: 3.906 kB / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.7715, allocations: 4 kB / 1.22 GB, free: 1.297 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.0001013/0.7716, allocations: 188.6 kB / 1.22 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.7717, allocations: 116.9 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.7717, allocations: 112.8 kB / 1.22 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/0.7718, allocations: 180.3 kB / 1.22 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.567e-05/0.7719, allocations: 184.2 kB / 1.22 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.621e-05/0.7719, allocations: 180.3 kB / 1.22 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.7722, allocations: 413.2 kB / 1.221 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.7722, allocations: 108.9 kB / 1.221 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.7723, allocations: 108.9 kB / 1.221 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.005e-05/0.7723, allocations: 176.3 kB / 1.221 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.7724, allocations: 184.3 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.405e-05/0.7725, allocations: 180.2 kB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.287e-05/0.7725, allocations: 176.3 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.7727, allocations: 315.7 kB / 1.222 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.7728, allocations: 189.9 kB / 1.222 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.7729, allocations: 184.2 kB / 1.222 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.7729, allocations: 101 kB / 1.223 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.773, allocations: 184.2 kB / 1.223 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.7731, allocations: 109 kB / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.7731, allocations: 100.8 kB / 1.223 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7731, allocations: 0 / 1.223 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007409/0.7739, allocations: 283.7 kB / 1.223 GB, free: 13.38 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.0009539/0.7748, allocations: 0.521 MB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.7749, allocations: 41.7 kB / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7749, allocations: 0 / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.775, allocations: 7.938 kB / 1.224 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.7753, allocations: 467.6 kB / 1.224 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.7757, allocations: 232.1 kB / 1.224 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.7759, allocations: 0.6884 MB / 1.225 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.19e-05/0.776, allocations: 0 / 1.225 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.064e-05/0.776, allocations: 7.438 kB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.776, allocations: 7.938 kB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of Templates: time 0.009474/0.7855, allocations: 5.464 MB / 1.23 GB, free: 5.938 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches