Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001531/0.001531, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001321/0.001322, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.679/2.679, allocations: 437.1 MB / 0.7111 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 72.94 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3679, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006542/0.3745, allocations: 4.153 MB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003882/0.3784, allocations: 2.421 MB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.3787, allocations: 8 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.3805, allocations: 0.5383 MB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.381, allocations: 250 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.3813, allocations: 135.9 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009481/0.3822, allocations: 0.8098 MB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.3828, allocations: 326.5 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.3831, allocations: 287 kB / 1.027 GB, free: 1.668 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.3836, allocations: 330.6 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.893e-05/0.3837, allocations: 72 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3838, allocations: 76 kB / 1.027 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.384, allocations: 171.4 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.3844, allocations: 386.2 kB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.3854, allocations: 0.985 MB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.3855, allocations: 4 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3855, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3855, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 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.001562/0.387, allocations: 0.9424 MB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3871, allocations: 8.922 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3872, allocations: 72.09 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.3879, allocations: 457.6 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3879, allocations: 37.38 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.388, allocations: 52.31 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.3888, allocations: 434.7 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3889, allocations: 3.906 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.3889, allocations: 24 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3889, allocations: 11.94 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.3897, allocations: 367.8 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.392, allocations: 1.535 MB / 1.032 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.3926, allocations: 336 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.3931, allocations: 329.4 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3932, allocations: 4 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.3932, allocations: 47.19 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.3932, allocations: 3.938 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42): time 0.001063/0.3943, allocations: 0.4935 MB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3944, allocations: 59.39 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.395, allocations: 485.9 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3951, allocations: 29.7 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.3953, allocations: 280.3 kB / 1.034 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3954, allocations: 141.9 kB / 1.035 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3956, allocations: 62.08 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3957, allocations: 366.8 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.396, allocations: 120.7 kB / 1.035 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.3963, allocations: 125.2 kB / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.3968, allocations: 302 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3968, allocations: 0 / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006812/0.3975, allocations: 404.3 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3976, allocations: 4 kB / 1.036 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3976, allocations: 0 / 1.036 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3976, allocations: 4 kB / 1.036 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.3981, allocations: 123.9 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3981, allocations: 0 / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3983, allocations: 35.53 kB / 1.036 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3984, allocations: 15.98 kB / 1.036 GB, free: 7.789 MB / 0.8106 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.0002353/0.3986, allocations: 197.8 kB / 1.036 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.3987, allocations: 51.38 kB / 1.036 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.3988, allocations: 65.09 kB / 1.036 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3988, allocations: 4 kB / 1.036 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3988, allocations: 0 / 1.036 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.3989, allocations: 3.984 kB / 1.036 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.3996, allocations: 0.5712 MB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3996, allocations: 0 / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.4001, allocations: 135.8 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4001, allocations: 0 / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4002, allocations: 8 kB / 1.037 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4002, allocations: 3.938 kB / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4002, allocations: 0 / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4013, allocations: 0.6506 MB / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4014, allocations: 140.4 kB / 1.038 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.4015, allocations: 8 kB / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.4017, allocations: 8 kB / 1.038 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.4018, allocations: 27.95 kB / 1.038 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4018, allocations: 12 kB / 1.038 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004277/0.4022, allocations: 347.1 kB / 1.038 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4022, allocations: 0 / 1.038 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004361/0.4027, allocations: 143.6 kB / 1.038 GB, free: 5.344 MB / 0.8106 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.0001873/0.4029, allocations: 123.2 kB / 1.039 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007709/0.4036, allocations: 340.3 kB / 1.039 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4037, allocations: 0 / 1.039 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.404, allocations: 183.6 kB / 1.039 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.4047, allocations: 134 kB / 1.039 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.4069, allocations: 1.247 MB / 1.04 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.4074, allocations: 0.8665 MB / 1.041 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.4075, allocations: 39.44 kB / 1.041 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.4075, allocations: 0 / 1.041 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of Templates: time 0.01128/0.4188, allocations: 6.831 MB / 1.048 GB, free: 11.6 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches