Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00687/0.006871, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001551/0.001551, allocations: 194.1 kB / 16.67 MB, free: 5.973 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 62.22 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004815/0.2912, allocations: 3.051 MB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.2939, allocations: 2.14 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.294, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.2953, allocations: 0.5004 MB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.2956, allocations: 146.9 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.2957, allocations: 55.89 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.2962, allocations: 445.9 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.2964, allocations: 159 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.2966, allocations: 155.3 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.2968, allocations: 187.1 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.2969, allocations: 32 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.2969, allocations: 36 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.297, allocations: 99.61 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.2972, allocations: 214.9 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.2977, allocations: 0.545 MB / 1.096 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2977, allocations: 4 kB / 1.096 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2977, allocations: 0 / 1.096 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.2977, allocations: 4 kB / 1.096 GB, free: 9.711 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00102/0.2988, allocations: 0.6928 MB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2988, allocations: 12.03 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.2989, allocations: 44.38 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.2994, allocations: 386 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2995, allocations: 16.81 kB / 1.097 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.2995, allocations: 24.38 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.2999, allocations: 195.6 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2999, allocations: 4 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2999, allocations: 8 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2999, allocations: 4 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.3003, allocations: 169.6 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3014, allocations: 0.8661 MB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.3017, allocations: 150.6 kB / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.3019, allocations: 116.8 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3019, allocations: 4 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.302, allocations: 34.5 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.302, allocations: 0 / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0005596/0.3025, allocations: 263.2 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3026, allocations: 51.41 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.303, allocations: 413.7 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.303, allocations: 29.7 kB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3032, allocations: 204.2 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.3033, allocations: 67.05 kB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.3033, allocations: 33.7 kB / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3035, allocations: 350.8 kB / 1.1 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3037, allocations: 59.97 kB / 1.1 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3038, allocations: 59.91 kB / 1.1 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3041, allocations: 136.1 kB / 1.1 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3041, allocations: 0 / 1.1 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003618/0.3045, allocations: 205.1 kB / 1.1 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3045, allocations: 8 kB / 1.1 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3045, allocations: 0 / 1.1 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3045, allocations: 3.938 kB / 1.1 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.3048, allocations: 55.91 kB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3048, allocations: 4 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3049, allocations: 19.83 kB / 1.1 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3049, allocations: 4 kB / 1.1 GB, free: 4.84 MB / 0.8575 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 (20): * Single equations (assignments): 20 * 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.0001612/0.3051, allocations: 169.8 kB / 1.1 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.3052, allocations: 35.53 kB / 1.1 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.3052, allocations: 43.53 kB / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3053, allocations: 4 kB / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3053, allocations: 0 / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3053, allocations: 0 / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.3057, allocations: 377.3 kB / 1.101 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3057, allocations: 0 / 1.101 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.3059, allocations: 59.91 kB / 1.101 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3059, allocations: 4 kB / 1.101 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3059, allocations: 3.938 kB / 1.101 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.306, allocations: 4 kB / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.306, allocations: 0 / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.3065, allocations: 376.4 kB / 1.101 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3067, allocations: 124.6 kB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.3067, allocations: 12 kB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3069, allocations: 11.98 kB / 1.101 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3069, allocations: 7.984 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3069, allocations: 4 kB / 1.101 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003119/0.3072, allocations: 303.2 kB / 1.102 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3072, allocations: 0 / 1.102 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002829/0.3075, allocations: 71.84 kB / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.000133/0.3077, allocations: 111.2 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.308, allocations: 146 kB / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.308, allocations: 0 / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3082, allocations: 75.91 kB / 1.102 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3087, allocations: 110.4 kB / 1.102 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3099, allocations: 0.7442 MB / 1.103 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3103, allocations: 0.8067 MB / 1.104 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.3104, allocations: 34.95 kB / 1.104 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.3105, allocations: 27.38 kB / 1.104 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.3105, allocations: 0 / 1.104 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.007738/0.3182, allocations: 3.988 MB / 1.107 GB, free: 13.19 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches