Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9227/0.9227, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_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=2500,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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8116 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.861e-05, allocations: 5.125 kB / 0.8116 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003812/0.003831, allocations: 4.277 MB / 0.8158 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.006431, allocations: 2.423 MB / 0.8181 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.006641, allocations: 8 kB / 0.8182 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.007754, allocations: 0.5185 MB / 0.8187 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.008045, allocations: 257.1 kB / 0.8189 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.008206, allocations: 144.6 kB / 0.819 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000577/0.008783, allocations: 0.8366 MB / 0.8199 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.009237, allocations: 211.6 kB / 0.8201 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.009712, allocations: 468.4 kB / 0.8205 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.009949, allocations: 255.3 kB / 0.8208 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.01001, allocations: 72 kB / 0.8208 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.01008, allocations: 76 kB / 0.8209 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01019, allocations: 180.6 kB / 0.8211 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.01036, allocations: 263.5 kB / 0.8213 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.01077, allocations: 0.4982 MB / 0.8218 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01077, allocations: 0.6562 kB / 0.8218 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01077, allocations: 3.938 kB / 0.8218 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.01078, allocations: 0.7188 kB / 0.8218 GB, free: 6.066 MB / 0.7292 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.0009294/0.01171, allocations: 1.002 MB / 0.8228 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.01174, allocations: 9.719 kB / 0.8228 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.01186, allocations: 120.5 kB / 0.8229 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.01222, allocations: 386.2 kB / 0.8233 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.01225, allocations: 38.25 kB / 0.8233 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.0123, allocations: 44.38 kB / 0.8234 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.01269, allocations: 315.2 kB / 0.8237 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.01271, allocations: 4.172 kB / 0.8237 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.01273, allocations: 20.38 kB / 0.8237 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01275, allocations: 15.94 kB / 0.8237 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.01303, allocations: 189.8 kB / 0.8239 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.0142, allocations: 1.202 MB / 0.8251 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.01446, allocations: 212 kB / 0.8253 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.01468, allocations: 188.3 kB / 0.8254 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.0147, allocations: 8 kB / 0.8254 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.01472, allocations: 43.52 kB / 0.8255 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.01472, allocations: 0 / 0.8255 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.0004253/0.01515, allocations: 333.3 kB / 0.8258 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.01518, allocations: 59.34 kB / 0.8259 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.01551, allocations: 478.7 kB / 0.8263 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.01553, allocations: 33.7 kB / 0.8263 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.01567, allocations: 354.4 kB / 0.8267 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.01575, allocations: 150.7 kB / 0.8268 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.01581, allocations: 71.72 kB / 0.8269 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000319/0.01613, allocations: 0.5391 MB / 0.8274 GB, free: 132 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.01622, allocations: 60.7 kB / 0.8275 GB, free: 72 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.0163, allocations: 65.22 kB / 0.8275 GB, free: 8 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.01651, allocations: 168.8 kB / 0.8277 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01651, allocations: 0 / 0.8277 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002855/0.0168, allocations: 282.5 kB / 0.828 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01681, allocations: 4 kB / 0.828 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01682, allocations: 0 / 0.828 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.01683, allocations: 5.062 kB / 0.828 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.01711, allocations: 124.9 kB / 0.8281 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01711, allocations: 4 kB / 0.8281 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.0172, allocations: 31.78 kB / 0.8281 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01721, allocations: 13.06 kB / 0.8281 GB, free: 15.38 MB / 0.7448 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.0001051/0.01731, allocations: 172.5 kB / 0.8283 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.01737, allocations: 64.92 kB / 0.8284 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.01742, allocations: 56.8 kB / 0.8284 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01743, allocations: 4 kB / 0.8284 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01743, allocations: 4.656 kB / 0.8284 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01743, allocations: 0 / 0.8284 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.01778, allocations: 433.9 kB / 0.8289 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01778, allocations: 4 kB / 0.8289 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.01805, allocations: 123.9 kB / 0.829 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.01805, allocations: 4.5 kB / 0.829 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.01807, allocations: 4.875 kB / 0.829 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01807, allocations: 7.938 kB / 0.829 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01807, allocations: 0 / 0.829 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.01852, allocations: 0.4974 MB / 0.8295 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.01857, allocations: 59.53 kB / 0.8295 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.0186, allocations: 9.094 kB / 0.8295 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.01869, allocations: 12 kB / 0.8296 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.01874, allocations: 31.88 kB / 0.8296 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01875, allocations: 12.84 kB / 0.8296 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001956/0.01894, allocations: 311 kB / 0.8299 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01894, allocations: 3.406 kB / 0.8299 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002387/0.01918, allocations: 143.7 kB / 0.83 GB, free: 13.4 MB / 0.7448 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 9.173e-05/0.01927, allocations: 111.2 kB / 0.8301 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01952, allocations: 203.4 kB / 0.8303 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01952, allocations: 0 / 0.8303 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.01964, allocations: 123.5 kB / 0.8304 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.01999, allocations: 109.4 kB / 0.8306 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.02123, allocations: 1.033 MB / 0.8316 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.0213, allocations: 129.8 kB / 0.8317 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.0214, allocations: 35.39 kB / 0.8317 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.02147, allocations: 40.5 kB / 0.8318 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.02147, allocations: 4 kB / 0.8318 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.007552/0.02902, allocations: 5.249 MB / 0.8369 GB, free: 6.453 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.666978870984167]