Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001302/0.001302, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001421/0.001421, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.8875/0.8875, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.773/1.773, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8116 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.271e-05, allocations: 4.641 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004359/0.004382, allocations: 3.126 MB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002806/0.007188, allocations: 2.142 MB / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.007375, allocations: 4.844 kB / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.008739, allocations: 480.8 kB / 0.8172 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.008991, allocations: 152.3 kB / 0.8173 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.009108, allocations: 63.88 kB / 0.8174 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.009571, allocations: 457.6 kB / 0.8178 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.009775, allocations: 92.8 kB / 0.8179 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.01011, allocations: 251.4 kB / 0.8182 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.01032, allocations: 133.3 kB / 0.8183 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.01037, allocations: 36 kB / 0.8183 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.01043, allocations: 39.94 kB / 0.8184 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.01054, allocations: 103.6 kB / 0.8185 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01069, allocations: 140.2 kB / 0.8186 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.01105, allocations: 290.9 kB / 0.8189 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01106, allocations: 0.6875 kB / 0.8189 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.01106, allocations: 0 / 0.8189 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.01106, allocations: 0.6562 kB / 0.8189 GB, free: 10.53 MB / 0.7761 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.0009593/0.01202, allocations: 0.7436 MB / 0.8196 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.01206, allocations: 12.03 kB / 0.8196 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.01217, allocations: 64.66 kB / 0.8197 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.01259, allocations: 299.9 kB / 0.82 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.01261, allocations: 16.88 kB / 0.82 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.01266, allocations: 29.12 kB / 0.82 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.01297, allocations: 153.4 kB / 0.8202 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01299, allocations: 5.125 kB / 0.8202 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.01301, allocations: 8.375 kB / 0.8202 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.01302, allocations: 9.281 kB / 0.8202 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.0132, allocations: 78.94 kB / 0.8203 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.01392, allocations: 0.7006 MB / 0.8209 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.01408, allocations: 103.1 kB / 0.821 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.01416, allocations: 63.59 kB / 0.8211 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.01417, allocations: 4 kB / 0.8211 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.01419, allocations: 37.39 kB / 0.8211 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.01419, allocations: 0.8125 kB / 0.8211 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0002546/0.01445, allocations: 160.4 kB / 0.8213 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.01447, allocations: 62.83 kB / 0.8213 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.01477, allocations: 434.8 kB / 0.8218 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01479, allocations: 33.64 kB / 0.8218 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.01491, allocations: 275.1 kB / 0.8221 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.01495, allocations: 71.36 kB / 0.8221 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.015, allocations: 43.36 kB / 0.8222 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.01514, allocations: 0.5391 MB / 0.8227 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.01518, allocations: 23.92 kB / 0.8227 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.01522, allocations: 26.22 kB / 0.8227 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.342e-05/0.01531, allocations: 68.31 kB / 0.8228 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01532, allocations: 0 / 0.8228 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001577/0.01547, allocations: 151.9 kB / 0.823 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01549, allocations: 8.75 kB / 0.823 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01549, allocations: 0 / 0.823 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.0155, allocations: 1.219 kB / 0.823 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01565, allocations: 55.91 kB / 0.823 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01566, allocations: 3.984 kB / 0.823 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.01572, allocations: 16.69 kB / 0.823 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.01573, allocations: 8 kB / 0.823 GB, free: 6.086 MB / 0.7761 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 8.46e-05/0.01581, allocations: 162.2 kB / 0.8232 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.01585, allocations: 47.7 kB / 0.8232 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.0159, allocations: 35.41 kB / 0.8233 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.0159, allocations: 0.6562 kB / 0.8233 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01591, allocations: 8 kB / 0.8233 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01591, allocations: 1.844 kB / 0.8233 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.01616, allocations: 304.3 kB / 0.8236 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01617, allocations: 4 kB / 0.8236 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.0163, allocations: 51.97 kB / 0.8236 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0163, allocations: 3.406 kB / 0.8236 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01631, allocations: 0 / 0.8236 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01632, allocations: 4 kB / 0.8236 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01632, allocations: 0 / 0.8236 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.01658, allocations: 335.4 kB / 0.824 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.01662, allocations: 31.75 kB / 0.824 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01664, allocations: 8 kB / 0.824 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.01671, allocations: 7.984 kB / 0.824 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.01675, allocations: 11.98 kB / 0.824 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.01676, allocations: 0.9375 kB / 0.824 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001813/0.01694, allocations: 291 kB / 0.8243 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01694, allocations: 1.125 kB / 0.8243 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002031/0.01714, allocations: 79.84 kB / 0.8244 GB, free: 4.672 MB / 0.7761 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 9.575e-05/0.01724, allocations: 112.2 kB / 0.8245 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.01738, allocations: 81.02 kB / 0.8246 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01738, allocations: 1.125 kB / 0.8246 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.01744, allocations: 60.92 kB / 0.8246 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.01777, allocations: 78.58 kB / 0.8247 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.01869, allocations: 0.6473 MB / 0.8253 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.01875, allocations: 96.3 kB / 0.8254 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.032e-05/0.01882, allocations: 30.95 kB / 0.8254 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.01887, allocations: 24.5 kB / 0.8255 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.01887, allocations: 4 kB / 0.8255 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of Templates: time 0.0056/0.02447, allocations: 3.674 MB / 0.8291 GB, free: 15.95 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.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.6718655379954726]