Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_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_latest_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.006957/0.006957, allocations: 101.5 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.001587/0.001587, allocations: 192.8 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.572/2.572, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.09 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2584, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003817/0.2623, allocations: 3.053 MB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.2647, allocations: 2.144 MB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.2649, allocations: 8 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.2661, allocations: 497.6 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.2663, allocations: 154.8 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.2665, allocations: 59.94 kB / 1.214 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.2669, allocations: 455.1 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.2671, allocations: 147.2 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.2673, allocations: 159.3 kB / 1.214 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.2675, allocations: 183.2 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.2676, allocations: 39.94 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.184e-05/0.2676, allocations: 32 kB / 1.215 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.2677, allocations: 99.61 kB / 1.215 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.2679, allocations: 215 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.2684, allocations: 0.545 MB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2684, allocations: 0 / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2684, allocations: 0 / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2684, allocations: 0 / 1.215 GB, free: 1.812 MB / 0.9669 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.0008905/0.2693, allocations: 0.7122 MB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2693, allocations: 8.625 kB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.2694, allocations: 52.31 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.2699, allocations: 374.1 kB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2699, allocations: 20.81 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.2699, allocations: 16.38 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.2703, allocations: 203.6 kB / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2703, allocations: 0 / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2704, allocations: 8 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2704, allocations: 8 kB / 1.217 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.2707, allocations: 165.6 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2718, allocations: 0.8623 MB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.2721, allocations: 158.5 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.2723, allocations: 108.8 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2724, allocations: 4 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2724, allocations: 38.56 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2724, allocations: 0 / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0005507/0.2729, allocations: 258.7 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.273, allocations: 55.41 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.2734, allocations: 417.7 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2734, allocations: 37.64 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2736, allocations: 204.2 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.2736, allocations: 63.09 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.2737, allocations: 33.7 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2738, allocations: 350.8 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.274, allocations: 55.97 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2741, allocations: 55.97 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.2744, allocations: 138.2 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2744, allocations: 0 / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003648/0.2748, allocations: 206.5 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2748, allocations: 4 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2748, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2748, allocations: 7.938 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.2751, allocations: 55.91 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2751, allocations: 0 / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.2752, allocations: 23.83 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2752, allocations: 0 / 1.22 GB, free: 12.93 MB / 0.9825 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.0001457/0.2754, allocations: 169.8 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.2754, allocations: 39.53 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.2755, allocations: 43.53 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2755, allocations: 4 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2755, allocations: 0 / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2756, allocations: 0 / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.2759, allocations: 381.2 kB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2759, allocations: 3.938 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.2762, allocations: 47.97 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.2762, allocations: 3.938 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2762, allocations: 11.94 kB / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2762, allocations: 0 / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2762, allocations: 0 / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.2768, allocations: 384.4 kB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.2769, allocations: 116.7 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.277, allocations: 7.938 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2771, allocations: 7.984 kB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.2772, allocations: 12.05 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.2772, allocations: 8 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002955/0.2775, allocations: 303.2 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2775, allocations: 0 / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000298/0.2778, allocations: 71.84 kB / 1.221 GB, free: 11.25 MB / 0.9825 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.0001075/0.2779, allocations: 111.2 kB / 1.222 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.2783, allocations: 140.7 kB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2783, allocations: 4 kB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.2784, allocations: 77.47 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.2789, allocations: 100.3 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.28, allocations: 0.7414 MB / 1.223 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.2803, allocations: 0.8029 MB / 1.223 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.2804, allocations: 38.95 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.2805, allocations: 23.44 kB / 1.223 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2805, allocations: 0 / 1.223 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.007242/0.2878, allocations: 3.994 MB / 1.227 GB, free: 5.277 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches