Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001074/0.001073, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008439/0.008439, allocations: 173 kB / 16.26 MB, free: 6.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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 10.94 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2596, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003876/0.2635, allocations: 3.787 MB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.2664, allocations: 2.344 MB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.2667, allocations: 12 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.268, allocations: 0.4968 MB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.2685, allocations: 214.4 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2687, allocations: 127.9 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.2694, allocations: 0.8059 MB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.2698, allocations: 272.2 kB / 1.067 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2701, allocations: 234.9 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.2704, allocations: 290.6 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.2705, allocations: 36 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.2706, allocations: 36 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2707, allocations: 131.4 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.271, allocations: 360 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006943/0.2717, allocations: 0.9456 MB / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2717, allocations: 0 / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.987e-06/0.2717, allocations: 0 / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.2717, allocations: 3.938 kB / 1.069 GB, free: 11.34 MB / 0.8262 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.001181/0.2729, allocations: 0.8335 MB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.273, allocations: 12.03 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2731, allocations: 72.09 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.2736, allocations: 461.6 kB / 1.07 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.2736, allocations: 37.38 kB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.2737, allocations: 48.38 kB / 1.07 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/0.2746, allocations: 426.8 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2746, allocations: 15.92 kB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.2746, allocations: 16 kB / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.2747, allocations: 12 kB / 1.07 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.2754, allocations: 379.8 kB / 1.071 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.2775, allocations: 1.539 MB / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.2781, allocations: 340.2 kB / 1.073 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.2786, allocations: 324.8 kB / 1.073 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2786, allocations: 7.938 kB / 1.073 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2787, allocations: 42.48 kB / 1.073 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=42): time 1.923e-06/0.2787, allocations: 0 / 1.073 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.0009892/0.2797, allocations: 0.5087 MB / 1.073 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2797, allocations: 55.41 kB / 1.073 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.2803, allocations: 485.9 kB / 1.074 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.2803, allocations: 37.7 kB / 1.074 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.2805, allocations: 276.3 kB / 1.074 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.2806, allocations: 141.9 kB / 1.074 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.2806, allocations: 37.7 kB / 1.074 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2808, allocations: 366.8 kB / 1.075 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.281, allocations: 124.7 kB / 1.075 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.2813, allocations: 133.4 kB / 1.075 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.2819, allocations: 314.3 kB / 1.075 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2819, allocations: 0 / 1.075 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006799/0.2826, allocations: 400.6 kB / 1.076 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2826, allocations: 4 kB / 1.076 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2826, allocations: 4 kB / 1.076 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2826, allocations: 0 / 1.076 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.2832, allocations: 127.9 kB / 1.076 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2832, allocations: 0 / 1.076 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.2835, allocations: 59.59 kB / 1.076 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2835, allocations: 8 kB / 1.076 GB, free: 3.543 MB / 0.8262 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.0002224/0.2837, allocations: 199.3 kB / 1.076 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.2838, allocations: 63.22 kB / 1.076 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.2839, allocations: 57.11 kB / 1.076 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.284, allocations: 4 kB / 1.076 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.284, allocations: 0 / 1.076 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.284, allocations: 7.984 kB / 1.076 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.2846, allocations: 0.5673 MB / 1.077 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2846, allocations: 4 kB / 1.077 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.2852, allocations: 127.8 kB / 1.077 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2852, allocations: 8 kB / 1.077 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2852, allocations: 4 kB / 1.077 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2852, allocations: 4 kB / 1.077 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2852, allocations: 0 / 1.077 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2863, allocations: 0.6714 MB / 1.078 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.2864, allocations: 144.3 kB / 1.078 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.2865, allocations: 4 kB / 1.078 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2867, allocations: 19.98 kB / 1.078 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.2868, allocations: 31.95 kB / 1.078 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2868, allocations: 12 kB / 1.078 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003834/0.2872, allocations: 347.1 kB / 1.078 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2872, allocations: 0 / 1.078 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003993/0.2876, allocations: 143.6 kB / 1.078 GB, free: 1.059 MB / 0.8262 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.0001315/0.2878, allocations: 116.3 kB / 1.078 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006153/0.2884, allocations: 335.7 kB / 1.079 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2884, allocations: 4 kB / 1.079 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.2887, allocations: 187.8 kB / 1.079 GB, free: 432 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.2894, allocations: 128.7 kB / 1.079 GB, free: 304 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.2914, allocations: 1.511 MB / 1.08 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.2918, allocations: 0.8707 MB / 1.081 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001908/0.292, allocations: 48.34 kB / 1.081 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.2921, allocations: 35.44 kB / 1.081 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.2922, allocations: 0 / 1.081 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of Templates: time 0.0105/0.3027, allocations: 5.572 MB / 1.087 GB, free: 8.336 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches