Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 69.2 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3608, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006251/0.3671, allocations: 4.196 MB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.3708, allocations: 2.383 MB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006333/0.3715, allocations: 8 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.3736, allocations: 0.4939 MB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007962/0.3744, allocations: 222.4 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.3747, allocations: 111.9 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.3758, allocations: 0.8098 MB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.3764, allocations: 280.2 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.3769, allocations: 259 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.3774, allocations: 318.5 kB / 1.062 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3776, allocations: 48 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.3778, allocations: 48 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.378, allocations: 143.4 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.3784, allocations: 366.2 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.3792, allocations: 0.8065 MB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3792, allocations: 4 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3792, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.3792, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001955/0.3812, allocations: 0.9424 MB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3812, allocations: 11.97 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3814, allocations: 72.09 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.3822, allocations: 457.6 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3822, allocations: 41.38 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.3823, allocations: 48.38 kB / 1.065 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.3832, allocations: 434.7 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.3832, allocations: 3.906 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3833, allocations: 20 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.3833, allocations: 11.94 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.384, allocations: 367.8 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.3864, allocations: 1.528 MB / 1.067 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.387, allocations: 334.9 kB / 1.067 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004817/0.3875, allocations: 326.5 kB / 1.067 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3875, allocations: 4.766 kB / 1.067 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3876, allocations: 42.5 kB / 1.067 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=42): time 2.464e-06/0.3876, allocations: 0 / 1.067 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.0009974/0.3886, allocations: 0.4893 MB / 1.068 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3886, allocations: 55.41 kB / 1.068 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.3893, allocations: 489.9 kB / 1.068 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.3893, allocations: 33.64 kB / 1.069 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.3895, allocations: 284.2 kB / 1.069 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.3896, allocations: 141.9 kB / 1.069 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3898, allocations: 62.08 kB / 1.069 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3899, allocations: 358.8 kB / 1.069 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.3902, allocations: 120.7 kB / 1.069 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3904, allocations: 133.2 kB / 1.07 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.3909, allocations: 302 kB / 1.07 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3909, allocations: 0 / 1.07 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006595/0.3916, allocations: 396.4 kB / 1.07 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3916, allocations: 4 kB / 1.07 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3916, allocations: 0 / 1.07 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3917, allocations: 8 kB / 1.07 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.3922, allocations: 127.8 kB / 1.07 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3922, allocations: 0 / 1.07 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3925, allocations: 59.5 kB / 1.07 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3925, allocations: 16 kB / 1.07 GB, free: 5.891 MB / 0.8262 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002647/0.3928, allocations: 189.8 kB / 1.071 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.3929, allocations: 51.38 kB / 1.071 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.393, allocations: 65.09 kB / 1.071 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.393, allocations: 4 kB / 1.071 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3931, allocations: 0 / 1.071 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3931, allocations: 3.984 kB / 1.071 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.3938, allocations: 0.5634 MB / 1.071 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3938, allocations: 0 / 1.071 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.3944, allocations: 135.8 kB / 1.071 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.3944, allocations: 0 / 1.071 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.3944, allocations: 15.94 kB / 1.071 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3944, allocations: 0 / 1.071 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3944, allocations: 0 / 1.071 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3954, allocations: 0.652 MB / 1.072 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3956, allocations: 144.3 kB / 1.072 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.3957, allocations: 4 kB / 1.072 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.396, allocations: 27.89 kB / 1.072 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.396, allocations: 15.97 kB / 1.072 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3961, allocations: 12 kB / 1.072 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004121/0.3965, allocations: 355.1 kB / 1.073 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3965, allocations: 0 / 1.073 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004646/0.397, allocations: 143.7 kB / 1.073 GB, free: 3.438 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001734/0.3971, allocations: 119.1 kB / 1.073 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006392/0.3978, allocations: 319.8 kB / 1.073 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3978, allocations: 4 kB / 1.073 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.3981, allocations: 187.8 kB / 1.073 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.399, allocations: 109.8 kB / 1.073 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4014, allocations: 1.455 MB / 1.075 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.4018, allocations: 0.8668 MB / 1.076 GB, free: 324 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.402, allocations: 47.36 kB / 1.076 GB, free: 276 kB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.402, allocations: 0 / 1.076 GB, free: 276 kB / 0.8262 GB Notification: Performance of Templates: time 0.01193/0.4139, allocations: 6.837 MB / 1.082 GB, free: 9.5 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches