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.001569/0.001569, allocations: 103 kB / 16.27 MB, free: 6.414 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.001531/0.001531, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.438/1.438, 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.628/2.628, allocations: 437.1 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 62.91 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3546, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006511/0.3612, allocations: 4.167 MB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004466/0.3657, allocations: 2.406 MB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/0.3664, allocations: 11.94 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.3686, allocations: 0.5449 MB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000961/0.3696, allocations: 238 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.3701, allocations: 143.8 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3714, allocations: 0.8026 MB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/0.372, allocations: 326.5 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.3726, allocations: 290.9 kB / 1.027 GB, free: 1.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.3732, allocations: 326.6 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.3733, allocations: 76 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.3736, allocations: 72 kB / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.3738, allocations: 171.4 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.3743, allocations: 390.2 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3754, allocations: 0.9889 MB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3754, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3755, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.084e-05/0.3755, allocations: 0 / 1.029 GB, free: 15.62 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.001895/0.3774, allocations: 0.9463 MB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3775, allocations: 8.922 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3776, allocations: 72.09 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007359/0.3784, allocations: 469.6 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.3784, allocations: 37.38 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.3785, allocations: 48.38 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.3794, allocations: 426.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3794, allocations: 3.906 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.3795, allocations: 20 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3795, allocations: 15.98 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.3803, allocations: 375.7 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.3827, allocations: 1.528 MB / 1.032 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.3833, allocations: 336 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.3839, allocations: 321.4 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3839, allocations: 4 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3839, allocations: 47.12 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=42): time 7.755e-06/0.384, allocations: 3.984 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42): time 0.001055/0.385, allocations: 0.4964 MB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.3851, allocations: 59.41 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.3858, allocations: 485.9 kB / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3858, allocations: 29.7 kB / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.3861, allocations: 280.3 kB / 1.034 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.3862, allocations: 137.9 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3864, allocations: 62.08 kB / 1.035 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3866, allocations: 362.8 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.3868, allocations: 120.7 kB / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.3871, allocations: 129.4 kB / 1.035 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.3877, allocations: 298 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3877, allocations: 0 / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007211/0.3884, allocations: 400.1 kB / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3884, allocations: 8 kB / 1.036 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3885, allocations: 0 / 1.036 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3885, allocations: 0 / 1.036 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.389, allocations: 127.8 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.389, allocations: 4 kB / 1.036 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.3893, allocations: 43.52 kB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3893, allocations: 19.98 kB / 1.036 GB, free: 7.742 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.0002751/0.3896, allocations: 200.1 kB / 1.036 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3897, allocations: 51.38 kB / 1.036 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.3899, allocations: 57.11 kB / 1.036 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3899, allocations: 4 kB / 1.036 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3899, allocations: 0 / 1.036 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3899, allocations: 11.92 kB / 1.036 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.3907, allocations: 0.5673 MB / 1.037 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3907, allocations: 4 kB / 1.037 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.3913, allocations: 131.8 kB / 1.037 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.3913, allocations: 0 / 1.037 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.3913, allocations: 12 kB / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3913, allocations: 0 / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3914, allocations: 0 / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3926, allocations: 0.6442 MB / 1.038 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.3928, allocations: 144.4 kB / 1.038 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.3929, allocations: 11.94 kB / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.3931, allocations: 15.98 kB / 1.038 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.3932, allocations: 19.97 kB / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3932, allocations: 12 kB / 1.038 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005613/0.3938, allocations: 351.1 kB / 1.038 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3938, allocations: 0 / 1.038 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005058/0.3943, allocations: 139.6 kB / 1.038 GB, free: 5.297 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.0002501/0.3946, allocations: 123.2 kB / 1.039 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.3955, allocations: 335.9 kB / 1.039 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3955, allocations: 0 / 1.039 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.3959, allocations: 183.6 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.3967, allocations: 117.8 kB / 1.039 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.3996, allocations: 1.254 MB / 1.04 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/0.4002, allocations: 0.8704 MB / 1.041 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4004, allocations: 39.44 kB / 1.041 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of SimCode: time 1.152e-06/0.4004, allocations: 0 / 1.041 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of Templates: time 0.01644/0.4169, allocations: 6.832 MB / 1.048 GB, free: 11.56 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=480 -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