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.001512/0.001512, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001939/0.001939, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.613/2.613, allocations: 437 MB / 0.71 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.8688 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5783, allocations: 151.6 MB / 1.017 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005201/0.5835, allocations: 4.192 MB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00358/0.5871, allocations: 2.369 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.5875, allocations: 12 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.5893, allocations: 0.4978 MB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.5898, allocations: 218.4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.5901, allocations: 115.9 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007832/0.5908, allocations: 0.8098 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.5913, allocations: 334.4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.5916, allocations: 287 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.5919, allocations: 338.5 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-05/0.592, allocations: 76 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.5921, allocations: 72 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.5923, allocations: 171.4 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.5926, allocations: 386.2 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008119/0.5935, allocations: 0.989 MB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5935, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5935, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.5935, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 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.001396/0.5949, allocations: 0.9463 MB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.595, allocations: 8.031 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.5951, allocations: 72.09 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.5957, allocations: 453.7 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.5957, allocations: 41.38 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.5958, allocations: 48.38 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.5966, allocations: 438.7 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.5967, allocations: 0 / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.5967, allocations: 20 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.5967, allocations: 12 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.5974, allocations: 363.8 kB / 1.03 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.5995, allocations: 1.547 MB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.6001, allocations: 338.9 kB / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.6006, allocations: 323.3 kB / 1.032 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.6007, allocations: 4.688 kB / 1.032 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.6007, allocations: 38.5 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=42): time 2.265e-06/0.6007, allocations: 0 / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42): time 0.0009852/0.6017, allocations: 0.4886 MB / 1.032 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.6018, allocations: 63.19 kB / 1.032 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.6024, allocations: 493.9 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.6024, allocations: 33.64 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.6026, allocations: 276.4 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.6027, allocations: 145.8 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.6028, allocations: 62.08 kB / 1.033 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.603, allocations: 358.8 kB / 1.034 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.6033, allocations: 124.7 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.6035, allocations: 129.2 kB / 1.034 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.604, allocations: 290.4 kB / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6041, allocations: 0 / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006775/0.6047, allocations: 396.1 kB / 1.035 GB, free: 332 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6048, allocations: 9.562 kB / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6048, allocations: 4 kB / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6048, allocations: 0 / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.6053, allocations: 127.8 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6054, allocations: 4 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.6057, allocations: 47.66 kB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.6057, allocations: 16 kB / 1.035 GB, free: 124 kB / 0.7794 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.000268/0.606, allocations: 194.3 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.6061, allocations: 55.28 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.6062, allocations: 57.11 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6062, allocations: 4 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6062, allocations: 0 / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.6062, allocations: 7.984 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.607, allocations: 0.5712 MB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.607, allocations: 4 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.6076, allocations: 135.7 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.6076, allocations: 7.984 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.6076, allocations: 12 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6076, allocations: 0 / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6076, allocations: 0 / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.6087, allocations: 0.6481 MB / 1.036 GB, free: 14.36 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.6089, allocations: 136.5 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.6089, allocations: 8 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.6092, allocations: 23.92 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.6093, allocations: 19.97 kB / 1.037 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.6093, allocations: 12 kB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003876/0.6097, allocations: 359.1 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6097, allocations: 0 / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004139/0.6101, allocations: 143.5 kB / 1.037 GB, free: 13.65 MB / 0.795 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.0001565/0.6103, allocations: 115.2 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.611, allocations: 339.7 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.611, allocations: 0 / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.6114, allocations: 191.5 kB / 1.038 GB, free: 13.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.6121, allocations: 125.7 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.6142, allocations: 1.413 MB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.6146, allocations: 0.8704 MB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00022/0.6148, allocations: 56.38 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.615, allocations: 35.44 kB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of SimCode: time 8.41e-07/0.615, allocations: 0 / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of Templates: time 0.01096/0.6259, allocations: 5.852 MB / 1.046 GB, free: 4.754 MB / 0.795 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/jenkins/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