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.001047/0.001047, allocations: 91.69 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.008005/0.008005, allocations: 169.9 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.311/1.311, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 9.312 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2422, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003041/0.2453, allocations: 2.718 MB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.2478, allocations: 2.087 MB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2479, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2491, allocations: 478.1 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.2493, allocations: 135.1 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.2494, allocations: 48.05 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.2499, allocations: 468.8 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2501, allocations: 127.8 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2503, allocations: 143.4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.2505, allocations: 167.1 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.2505, allocations: 16 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.2506, allocations: 20 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.2507, allocations: 83.59 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2509, allocations: 224.6 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.2513, allocations: 0.5214 MB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2513, allocations: 0 / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2513, allocations: 0 / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2513, allocations: 4 kB / 1.066 GB, free: 14.23 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008433/0.2522, allocations: 0.6385 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2522, allocations: 12.03 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.2523, allocations: 48.38 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.2527, allocations: 370.1 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2528, allocations: 16.81 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.2528, allocations: 20.38 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.2532, allocations: 211.5 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2533, allocations: 0 / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2533, allocations: 12 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2533, allocations: 11.98 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.2537, allocations: 169.7 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2548, allocations: 0.8701 MB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.2552, allocations: 162.6 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.2554, allocations: 114.1 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2554, allocations: 3.938 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2554, allocations: 46.55 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.2554, allocations: 0 / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006084/0.2561, allocations: 275.1 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2561, allocations: 55.41 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.2566, allocations: 417.7 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2566, allocations: 33.64 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.2567, allocations: 204.2 kB / 1.069 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.2568, allocations: 59.11 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.2568, allocations: 21.7 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.257, allocations: 346.8 kB / 1.07 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2571, allocations: 67.97 kB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2573, allocations: 57.17 kB / 1.07 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.2576, allocations: 146.4 kB / 1.07 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2576, allocations: 0 / 1.07 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004009/0.258, allocations: 226.4 kB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.258, allocations: 4 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.258, allocations: 7.984 kB / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2581, allocations: 3.938 kB / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.2583, allocations: 51.97 kB / 1.07 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2583, allocations: 0 / 1.07 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2585, allocations: 27.83 kB / 1.07 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2585, allocations: 4 kB / 1.07 GB, free: 9.344 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 (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.0001535/0.2587, allocations: 171.3 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.2587, allocations: 35.53 kB / 1.07 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.2588, allocations: 43.53 kB / 1.071 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2588, allocations: 4 kB / 1.071 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2588, allocations: 0 / 1.071 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2588, allocations: 3.984 kB / 1.071 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.2592, allocations: 373.3 kB / 1.071 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2592, allocations: 0 / 1.071 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.2595, allocations: 67.91 kB / 1.071 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2595, allocations: 4 kB / 1.071 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2595, allocations: 3.938 kB / 1.071 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2595, allocations: 0 / 1.071 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.2596, allocations: 3.984 kB / 1.071 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.2602, allocations: 394.9 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-05/0.2603, allocations: 124.6 kB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.2603, allocations: 3.938 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.2605, allocations: 15.98 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.2606, allocations: 12.05 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.2606, allocations: 8 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003115/0.2609, allocations: 303.1 kB / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2609, allocations: 0 / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003077/0.2612, allocations: 75.84 kB / 1.072 GB, free: 7.633 MB / 0.8262 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.0001066/0.2613, allocations: 103.2 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.2617, allocations: 167.2 kB / 1.072 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2617, allocations: 0 / 1.072 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2619, allocations: 87.84 kB / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.2625, allocations: 81.45 kB / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2637, allocations: 0.9347 MB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.2641, allocations: 0.7914 MB / 1.074 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.2642, allocations: 42.94 kB / 1.074 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.2642, allocations: 23.44 kB / 1.074 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2643, allocations: 0 / 1.074 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.007052/0.2713, allocations: 3.694 MB / 1.078 GB, free: 1.77 MB / 0.8262 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