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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007651/0.007652, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001683/0.001683, allocations: 196 kB / 16.79 MB, free: 5.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437 MB / 0.7106 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.91 kB / 0.8692 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.792, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005521/0.7976, allocations: 4.182 MB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003454/0.8011, allocations: 2.373 MB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.8014, allocations: 12 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.803, allocations: 0.4978 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.8035, allocations: 214.5 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.8038, allocations: 123.9 kB / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007408/0.8045, allocations: 0.8032 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.8049, allocations: 284.1 kB / 1.026 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.8052, allocations: 266.9 kB / 1.026 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.8055, allocations: 314.6 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.8056, allocations: 44 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.8057, allocations: 48 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.8059, allocations: 147.4 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.8062, allocations: 354.3 kB / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.8069, allocations: 0.8105 MB / 1.028 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8069, allocations: 7.938 kB / 1.028 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8069, allocations: 0 / 1.028 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.8069, allocations: 0 / 1.028 GB, free: 8.266 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.001489/0.8084, allocations: 0.9437 MB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.8084, allocations: 12.03 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.8086, allocations: 76.08 kB / 1.029 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.8091, allocations: 449.7 kB / 1.029 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.8092, allocations: 37.38 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.8093, allocations: 48.38 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.81, allocations: 438.8 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.81, allocations: 0 / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.8101, allocations: 23.98 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.8101, allocations: 12 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.8108, allocations: 367.8 kB / 1.03 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.8128, allocations: 1.535 MB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.8134, allocations: 338.9 kB / 1.032 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.8139, allocations: 317.4 kB / 1.032 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.8139, allocations: 8.688 kB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.814, allocations: 42.5 kB / 1.032 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=42): time 4.088e-06/0.814, allocations: 0 / 1.032 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42): time 0.0009615/0.8149, allocations: 0.4963 MB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.815, allocations: 59.19 kB / 1.033 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.8155, allocations: 489.9 kB / 1.033 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.8156, allocations: 33.7 kB / 1.033 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.8158, allocations: 272.4 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.8159, allocations: 149.8 kB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.816, allocations: 58.08 kB / 1.034 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8162, allocations: 358.8 kB / 1.034 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.8164, allocations: 124.7 kB / 1.034 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.8167, allocations: 137.2 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.8172, allocations: 290.4 kB / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8172, allocations: 0 / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006232/0.8178, allocations: 396.1 kB / 1.035 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.8179, allocations: 5.719 kB / 1.035 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8179, allocations: 3.938 kB / 1.035 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8179, allocations: 4 kB / 1.035 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.8184, allocations: 127.9 kB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.8184, allocations: 0 / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.8187, allocations: 51.66 kB / 1.035 GB, free: 420 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.8187, allocations: 12 kB / 1.035 GB, free: 408 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.0002249/0.8189, allocations: 194.3 kB / 1.035 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.819, allocations: 55.28 kB / 1.035 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.8191, allocations: 61.11 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.8192, allocations: 4 kB / 1.035 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8192, allocations: 3.938 kB / 1.035 GB, free: 76 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8192, allocations: 3.984 kB / 1.035 GB, free: 72 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.8199, allocations: 0.5789 MB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8199, allocations: 0 / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.8204, allocations: 131.8 kB / 1.036 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.8204, allocations: 4 kB / 1.036 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.8204, allocations: 8 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.8204, allocations: 4 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8205, allocations: 0 / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.8214, allocations: 0.6481 MB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.8216, allocations: 136.5 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.8217, allocations: 8 kB / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.8219, allocations: 19.98 kB / 1.037 GB, free: 14.45 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.822, allocations: 19.97 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.822, allocations: 15.98 kB / 1.037 GB, free: 14.42 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003942/0.8224, allocations: 347.1 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8224, allocations: 7.938 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004209/0.8228, allocations: 147.5 kB / 1.037 GB, free: 13.93 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.0001792/0.823, allocations: 115.2 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006396/0.8237, allocations: 319.7 kB / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8237, allocations: 0 / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.824, allocations: 187.6 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.8248, allocations: 135.9 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.8269, allocations: 1.444 MB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.8274, allocations: 0.8745 MB / 1.04 GB, free: 10.81 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.8275, allocations: 39.44 kB / 1.04 GB, free: 10.77 MB / 0.795 GB Notification: Performance of SimCode: time 4.5e-07/0.8275, allocations: 0 / 1.04 GB, free: 10.77 MB / 0.795 GB Notification: Performance of Templates: time 0.0104/0.8379, allocations: 6.809 MB / 1.047 GB, free: 4.02 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/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