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) 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008612/0.008612, allocations: 106.9 kB / 15.79 MB, free: 5.953 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.001848/0.001848, allocations: 195.5 kB / 16.72 MB, free: 5.883 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.563/1.563, allocations: 225.6 MB / 243.1 MB, free: 3.691 MB / 190.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.866/2.866, allocations: 443.4 MB / 0.7221 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 67.83 kB / 1.048 GB, free: 3.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3771, allocations: 160.7 MB / 1.205 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002934/0.3801, allocations: 1.43 MB / 1.206 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00495/0.385, allocations: 2.881 MB / 1.209 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.3851, allocations: 0 / 1.209 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.3851, allocations: 3.938 kB / 1.209 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.3852, allocations: 19.84 kB / 1.209 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004607/0.3898, allocations: 1.579 MB / 1.211 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3899, allocations: 35.75 kB / 1.211 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.3899, allocations: 7.984 kB / 1.211 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.39, allocations: 11.94 kB / 1.211 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.39, allocations: 23.86 kB / 1.211 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.39, allocations: 0 / 1.211 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.3929, allocations: 1.529 MB / 1.212 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.3929, allocations: 4 kB / 1.212 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.393, allocations: 23.88 kB / 1.212 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.3953, allocations: 1.079 MB / 1.213 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3953, allocations: 0 / 1.213 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3953, allocations: 0 / 1.213 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3953, allocations: 0 / 1.213 GB, free: 10.31 MB / 0.9669 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.0008822/0.3961, allocations: 0.5324 MB / 1.214 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3962, allocations: 8.031 kB / 1.214 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.3963, allocations: 84.11 kB / 1.214 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3965, allocations: 251.6 kB / 1.214 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/0.3966, allocations: 158.9 kB / 1.214 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.3966, allocations: 150.9 kB / 1.215 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.3967, allocations: 109.1 kB / 1.215 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.3968, allocations: 75.28 kB / 1.215 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.3968, allocations: 150.6 kB / 1.215 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/0.3969, allocations: 158.5 kB / 1.215 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.397, allocations: 158.5 kB / 1.215 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3974, allocations: 465.9 kB / 1.216 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3975, allocations: 169.1 kB / 1.216 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.3975, allocations: 84.14 kB / 1.216 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.3976, allocations: 75.28 kB / 1.216 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/0.3976, allocations: 109.8 kB / 1.216 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3976, allocations: 0 / 1.216 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.998e-05/0.3977, allocations: 41.59 kB / 1.216 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.3978, allocations: 126.7 kB / 1.216 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.398, allocations: 135.3 kB / 1.216 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.398, allocations: 25.7 kB / 1.216 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.3981, allocations: 96.12 kB / 1.216 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-06/0.3981, allocations: 0 / 1.216 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3982, allocations: 13.72 kB / 1.216 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3983, allocations: 314.8 kB / 1.217 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.3984, allocations: 7.984 kB / 1.217 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.3984, allocations: 4 kB / 1.217 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.3984, allocations: 16.83 kB / 1.217 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3984, allocations: 8 kB / 1.217 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001603/0.3986, allocations: 53.59 kB / 1.217 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3986, allocations: 7.984 kB / 1.217 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.3986, allocations: 4 kB / 1.217 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3987, allocations: 0 / 1.217 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.3987, allocations: 0 / 1.217 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3987, allocations: 0 / 1.217 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.3987, allocations: 0 / 1.217 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3987, allocations: 4 kB / 1.217 GB, free: 6.539 MB / 0.9669 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.0001392/0.3988, allocations: 185.2 kB / 1.217 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.3989, allocations: 116.8 kB / 1.217 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.399, allocations: 108.8 kB / 1.217 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/0.3991, allocations: 184.3 kB / 1.217 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001041/0.3992, allocations: 180.2 kB / 1.218 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-05/0.3993, allocations: 176.3 kB / 1.218 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.3997, allocations: 421.1 kB / 1.218 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-05/0.3997, allocations: 104.9 kB / 1.218 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.3998, allocations: 105 kB / 1.218 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.962e-05/0.3999, allocations: 188.2 kB / 1.219 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4, allocations: 184.2 kB / 1.219 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001027/0.4001, allocations: 184.2 kB / 1.219 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.947e-05/0.4002, allocations: 184.2 kB / 1.219 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.4004, allocations: 307.7 kB / 1.219 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.4005, allocations: 190 kB / 1.22 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4006, allocations: 188.2 kB / 1.22 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.4007, allocations: 101 kB / 1.22 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4008, allocations: 184.3 kB / 1.22 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.4008, allocations: 104.9 kB / 1.22 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.607e-05/0.4009, allocations: 97.14 kB / 1.22 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4009, allocations: 0 / 1.22 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009919/0.4019, allocations: 287 kB / 1.22 GB, free: 2.613 MB / 0.9669 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.001494/0.4034, allocations: 0.5232 MB / 1.221 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.4035, allocations: 37.7 kB / 1.221 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4035, allocations: 0 / 1.221 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.4035, allocations: 3.938 kB / 1.221 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.4041, allocations: 479.7 kB / 1.221 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.4045, allocations: 240 kB / 1.222 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.4049, allocations: 0.6846 MB / 1.222 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.4049, allocations: 0 / 1.222 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.4049, allocations: 11.44 kB / 1.222 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.4049, allocations: 4 kB / 1.222 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of Templates: time 0.01286/0.4178, allocations: 5.459 MB / 1.228 GB, free: 11.16 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) 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) Reference file matches