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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 189 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 223.2 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 96.22 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 11.81 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3243, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.5412, allocations: 157.9 MB / 1.377 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.5416, allocations: 111.9 kB / 1.377 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04921/0.5908, allocations: 18.22 MB / 1.395 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5909, allocations: 0 / 1.395 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.5909, allocations: 4 kB / 1.395 GB, free: 1.805 MB / 0.8855 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.001002/0.5919, allocations: 0.6519 MB / 1.396 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.592, allocations: 8.031 kB / 1.396 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.5921, allocations: 47.44 kB / 1.396 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.5926, allocations: 357.1 kB / 1.396 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.5926, allocations: 20.44 kB / 1.396 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.5927, allocations: 20 kB / 1.396 GB, free: 0.6172 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.5931, allocations: 203.3 kB / 1.396 GB, free: 424 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5931, allocations: 0 / 1.396 GB, free: 424 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5931, allocations: 8.344 kB / 1.396 GB, free: 416 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.5932, allocations: 11.95 kB / 1.396 GB, free: 404 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.5935, allocations: 173.6 kB / 1.396 GB, free: 228 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.5948, allocations: 0.874 MB / 1.397 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.5952, allocations: 161.2 kB / 1.397 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5952, allocations: 4 kB / 1.397 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5952, allocations: 34.81 kB / 1.397 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.5952, allocations: 0 / 1.397 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0006234/0.5959, allocations: 269.8 kB / 1.398 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.5959, allocations: 55.41 kB / 1.398 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.5964, allocations: 368.8 kB / 1.398 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.5964, allocations: 29.7 kB / 1.398 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.5966, allocations: 208.2 kB / 1.398 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.5967, allocations: 63.02 kB / 1.398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/0.5967, allocations: 4 kB / 1.398 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5968, allocations: 346.8 kB / 1.399 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.597, allocations: 63.92 kB / 1.399 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.5972, allocations: 67.95 kB / 1.399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.5973, allocations: 69.47 kB / 1.399 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5973, allocations: 0 / 1.399 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003827/0.5977, allocations: 213.2 kB / 1.399 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5977, allocations: 7.938 kB / 1.399 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5978, allocations: 7.922 kB / 1.399 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5978, allocations: 4 kB / 1.399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.598, allocations: 55.91 kB / 1.399 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5981, allocations: 0 / 1.399 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.5983, allocations: 35.83 kB / 1.399 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5983, allocations: 4 kB / 1.399 GB, free: 13.18 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.5985, allocations: 165.8 kB / 1.399 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.5985, allocations: 35.53 kB / 1.399 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.5986, allocations: 39.59 kB / 1.399 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5986, allocations: 4 kB / 1.399 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5986, allocations: 0 / 1.399 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5986, allocations: 3.984 kB / 1.399 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.5991, allocations: 377.2 kB / 1.4 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5991, allocations: 4 kB / 1.4 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.5994, allocations: 59.91 kB / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5994, allocations: 0 / 1.4 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.5994, allocations: 7.984 kB / 1.4 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5994, allocations: 4 kB / 1.4 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5994, allocations: 0 / 1.4 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.6, allocations: 397 kB / 1.4 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.6002, allocations: 116.7 kB / 1.4 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.6002, allocations: 4 kB / 1.4 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6004, allocations: 19.95 kB / 1.4 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.6005, allocations: 19.92 kB / 1.4 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.6005, allocations: 0 / 1.4 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003269/0.6008, allocations: 303.1 kB / 1.401 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6008, allocations: 0 / 1.401 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003908/0.6012, allocations: 79.84 kB / 1.401 GB, free: 11.49 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004373/0.6017, allocations: 261 kB / 1.401 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.602, allocations: 161.4 kB / 1.401 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.602, allocations: 0 / 1.401 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.6022, allocations: 79.91 kB / 1.401 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.6027, allocations: 94.86 kB / 1.401 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.604, allocations: 0.9041 MB / 1.402 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.6044, allocations: 0.8031 MB / 1.403 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.6046, allocations: 34.89 kB / 1.403 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.6046, allocations: 27.44 kB / 1.403 GB, free: 9.082 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.6047, allocations: 4 kB / 1.403 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of Templates: time 0.01027/0.6149, allocations: 5.234 MB / 1.408 GB, free: 3.938 MB / 0.9011 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","../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