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.001326/0.001326, allocations: 112.6 kB / 16.37 MB, free: 6 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.00135/0.00135, allocations: 196 kB / 17.31 MB, free: 5.613 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.398/2.398, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 70.05 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2641, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004988/0.2691, allocations: 4.18 MB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.272, allocations: 2.406 MB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2722, allocations: 8 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.2734, allocations: 0.5363 MB / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.2738, allocations: 250 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.274, allocations: 135.9 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.2748, allocations: 0.8098 MB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.2752, allocations: 326.5 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.2755, allocations: 290.9 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.2758, allocations: 330.6 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.2759, allocations: 76 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.276, allocations: 76 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2761, allocations: 171.4 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.2765, allocations: 382.3 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.2772, allocations: 0.9927 MB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2772, allocations: 0 / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2772, allocations: 0 / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.2772, allocations: 4 kB / 1.029 GB, free: 14.88 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.001277/0.2785, allocations: 0.9564 MB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2785, allocations: 8.922 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2786, allocations: 72.09 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.2792, allocations: 465.5 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.2792, allocations: 37.38 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.2793, allocations: 52.36 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.28, allocations: 422.8 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.28, allocations: 7.906 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.28, allocations: 20 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2801, allocations: 12 kB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.2807, allocations: 367.8 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.2826, allocations: 1.516 MB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.2831, allocations: 339.5 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.2836, allocations: 322.2 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.2836, allocations: 4.688 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2837, allocations: 42.5 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.2837, allocations: 4 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42): time 0.0009038/0.2846, allocations: 496.3 kB / 1.034 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2846, allocations: 63.17 kB / 1.035 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.2851, allocations: 485.9 kB / 1.035 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2852, allocations: 33.7 kB / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.2853, allocations: 280.3 kB / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2854, allocations: 141.9 kB / 1.035 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.2855, allocations: 62.08 kB / 1.035 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2857, allocations: 362.8 kB / 1.036 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.2859, allocations: 120.7 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2861, allocations: 121.5 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.2866, allocations: 306.2 kB / 1.036 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2866, allocations: 4 kB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006045/0.2872, allocations: 400.1 kB / 1.037 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2873, allocations: 4 kB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2873, allocations: 0.7656 kB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2873, allocations: 4 kB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.2878, allocations: 123.9 kB / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2878, allocations: 0 / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.288, allocations: 47.52 kB / 1.037 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.288, allocations: 8 kB / 1.037 GB, free: 7.027 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.0001934/0.2882, allocations: 193.8 kB / 1.037 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.2883, allocations: 55.31 kB / 1.037 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2884, allocations: 65.09 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2884, allocations: 4 kB / 1.037 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2884, allocations: 3.984 kB / 1.037 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2884, allocations: 3.984 kB / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.289, allocations: 0.5712 MB / 1.038 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.289, allocations: 4 kB / 1.038 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.2895, allocations: 135.7 kB / 1.038 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2895, allocations: 0 / 1.038 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.2896, allocations: 11.94 kB / 1.038 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2896, allocations: 0 / 1.038 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2896, allocations: 4 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.2905, allocations: 0.6482 MB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2906, allocations: 140.3 kB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.2907, allocations: 4 kB / 1.039 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2909, allocations: 12 kB / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.291, allocations: 23.95 kB / 1.039 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.291, allocations: 12 kB / 1.039 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003911/0.2914, allocations: 347.1 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2914, allocations: 4 kB / 1.039 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003729/0.2918, allocations: 147.6 kB / 1.039 GB, free: 4.566 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.0001321/0.2919, allocations: 115.2 kB / 1.039 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.2925, allocations: 323.7 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2925, allocations: 0 / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.2928, allocations: 187.6 kB / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.2934, allocations: 130.2 kB / 1.04 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2951, allocations: 1.191 MB / 1.041 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.2955, allocations: 0.8665 MB / 1.042 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000171/0.2957, allocations: 52.41 kB / 1.042 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.2958, allocations: 35.44 kB / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2958, allocations: 0 / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of Templates: time 0.0102/0.306, allocations: 5.946 MB / 1.048 GB, free: 11.83 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 -s gbode -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