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.001589/0.001589, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001979/0.001979, allocations: 190.4 kB / 16.14 MB, free: 6.645 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.95 kB / 0.8984 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.25, allocations: 157.4 MB / 1.052 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004102/0.2542, allocations: 3.087 MB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.2566, allocations: 2.114 MB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2568, allocations: 4 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.2581, allocations: 482 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.2583, allocations: 123.2 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.2584, allocations: 55.91 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.2588, allocations: 461.9 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.2591, allocations: 135.9 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.2592, allocations: 147.3 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.2595, allocations: 179.2 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.2595, allocations: 24 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.2596, allocations: 27.94 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-05/0.2597, allocations: 83.67 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.2599, allocations: 210.9 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.2603, allocations: 0.5293 MB / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2603, allocations: 0 / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2603, allocations: 3.984 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.2603, allocations: 8 kB / 1.06 GB, free: 1.117 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009633/0.2613, allocations: 0.6967 MB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2613, allocations: 12.03 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.18e-05/0.2614, allocations: 44.38 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.2619, allocations: 370.3 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2619, allocations: 16.81 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.2619, allocations: 24.28 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.2623, allocations: 203.6 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2624, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2624, allocations: 12 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2624, allocations: 4 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.2628, allocations: 161.7 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.2639, allocations: 0.8662 MB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.2642, allocations: 154.5 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.2644, allocations: 119.1 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.2645, allocations: 4 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2645, allocations: 34.5 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.2645, allocations: 4 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005893/0.2651, allocations: 254.6 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.2651, allocations: 51.41 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.2656, allocations: 421.7 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2656, allocations: 25.7 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.2658, allocations: 216.1 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.2658, allocations: 67.09 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.2659, allocations: 29.72 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.266, allocations: 346.8 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2662, allocations: 55.97 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2663, allocations: 55.97 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2666, allocations: 135.5 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2667, allocations: 8 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004041/0.2671, allocations: 205 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2671, allocations: 8 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2671, allocations: 0 / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2671, allocations: 3.938 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.2674, allocations: 55.89 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2674, allocations: 4 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2676, allocations: 27.83 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2676, allocations: 4 kB / 1.064 GB, free: 12.24 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.0001432/0.2678, allocations: 157.8 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.2678, allocations: 35.53 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.2679, allocations: 47.52 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2679, allocations: 0 / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2679, allocations: 4 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2679, allocations: 4 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.2683, allocations: 369.4 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2683, allocations: 0 / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.2686, allocations: 59.89 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2686, allocations: 4 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2686, allocations: 7.938 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.2687, allocations: 0 / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2687, allocations: 7.922 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.2693, allocations: 386.6 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.2694, allocations: 128.6 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.2694, allocations: 3.938 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.2696, allocations: 15.98 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.2696, allocations: 7.984 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2697, allocations: 8 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000314/0.27, allocations: 303.2 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.27, allocations: 0 / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002957/0.2703, allocations: 71.84 kB / 1.066 GB, free: 10.56 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.0001187/0.2704, allocations: 107.2 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.2708, allocations: 151.7 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2708, allocations: 0 / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.271, allocations: 79.91 kB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.2716, allocations: 85.38 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2728, allocations: 0.8664 MB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2731, allocations: 0.7992 MB / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000116/0.2732, allocations: 30.97 kB / 1.068 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.2733, allocations: 23.44 kB / 1.068 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of SimCode: time 1.512e-06/0.2733, allocations: 0 / 1.068 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.006975/0.2803, allocations: 3.733 MB / 1.071 GB, free: 4.75 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