Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001633/0.001633, allocations: 107 kB / 15.99 MB, free: 6.359 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.001567/0.001567, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.66/2.66, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 68.42 kB / 0.9088 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3491, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00287/0.352, allocations: 1.515 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.3566, allocations: 2.898 MB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.3567, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.3568, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.3568, allocations: 19.84 kB / 1.069 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.3607, allocations: 1.466 MB / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.3608, allocations: 43.73 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.3608, allocations: 3.984 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.3609, allocations: 15.94 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.844e-05/0.3609, allocations: 15.88 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3609, allocations: 4 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.363, allocations: 1.462 MB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.363, allocations: 11.94 kB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3631, allocations: 23.86 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009999/0.3641, allocations: 0.7527 MB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3641, allocations: 4 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3641, allocations: 0 / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3641, allocations: 0 / 1.072 GB, free: 6.852 MB / 0.8419 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.0006614/0.3648, allocations: 0.5107 MB / 1.073 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3648, allocations: 12.03 kB / 1.073 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.3649, allocations: 80.12 kB / 1.073 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3651, allocations: 258.2 kB / 1.073 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/0.3652, allocations: 158.9 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.3653, allocations: 150.9 kB / 1.073 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.3653, allocations: 113 kB / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.3654, allocations: 75.28 kB / 1.074 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.3655, allocations: 154.6 kB / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.3655, allocations: 154.5 kB / 1.074 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.3656, allocations: 150.6 kB / 1.074 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.366, allocations: 465.9 kB / 1.074 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3661, allocations: 177.1 kB / 1.075 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.3661, allocations: 88.14 kB / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.3662, allocations: 75.28 kB / 1.075 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.3662, allocations: 109.8 kB / 1.075 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3662, allocations: 0 / 1.075 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.648e-05/0.3663, allocations: 37.59 kB / 1.075 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.3664, allocations: 134.6 kB / 1.075 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3666, allocations: 133.7 kB / 1.075 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3666, allocations: 25.7 kB / 1.075 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.3666, allocations: 88.14 kB / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.3666, allocations: 0 / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.3667, allocations: 25.7 kB / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3668, allocations: 314.8 kB / 1.076 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.3669, allocations: 4 kB / 1.076 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.3669, allocations: 7.984 kB / 1.076 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.3669, allocations: 16.89 kB / 1.076 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3669, allocations: 0 / 1.076 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001308/0.3671, allocations: 53.58 kB / 1.076 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3671, allocations: 4 kB / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.3671, allocations: 4 kB / 1.076 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3671, allocations: 0 / 1.076 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-06/0.3672, allocations: 0 / 1.076 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3672, allocations: 3.984 kB / 1.076 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.3672, allocations: 7.906 kB / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3672, allocations: 0 / 1.076 GB, free: 3.09 MB / 0.8419 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.000113/0.3673, allocations: 185.2 kB / 1.076 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.3674, allocations: 116.8 kB / 1.076 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.3675, allocations: 112.8 kB / 1.076 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/0.3676, allocations: 180.4 kB / 1.076 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.807e-05/0.3676, allocations: 184.3 kB / 1.076 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.952e-05/0.3677, allocations: 184.2 kB / 1.077 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.368, allocations: 413.2 kB / 1.077 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/0.3681, allocations: 108.9 kB / 1.077 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.3681, allocations: 108.9 kB / 1.077 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/0.3682, allocations: 180.3 kB / 1.077 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/0.3683, allocations: 184.2 kB / 1.078 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-05/0.3683, allocations: 184.2 kB / 1.078 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.3684, allocations: 188.2 kB / 1.078 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.3686, allocations: 307.8 kB / 1.078 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.3687, allocations: 189.9 kB / 1.078 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.5468/0.9155, allocations: 181.3 kB / 1.079 GB, free: 22.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.9156, allocations: 104.6 kB / 1.079 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.9157, allocations: 179.3 kB / 1.079 GB, free: 22.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.9157, allocations: 106.2 kB / 1.079 GB, free: 21.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.847e-05/0.9158, allocations: 101.6 kB / 1.079 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.9158, allocations: 0.75 kB / 1.079 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009239/0.9167, allocations: 280.9 kB / 1.079 GB, free: 21.92 MB / 0.8419 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.001259/0.918, allocations: 0.5363 MB / 1.08 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.9181, allocations: 39.52 kB / 1.08 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9181, allocations: 4.438 kB / 1.08 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.9182, allocations: 0 / 1.08 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.9185, allocations: 467.6 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.9189, allocations: 262.3 kB / 1.081 GB, free: 21.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.919, allocations: 0.6841 MB / 1.081 GB, free: 20.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.919, allocations: 8.531 kB / 1.081 GB, free: 20.33 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.919, allocations: 1.281 kB / 1.081 GB, free: 20.33 MB / 0.8419 GB Notification: Performance of Templates: time 0.01108/0.9301, allocations: 4.759 MB / 1.086 GB, free: 19.93 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches