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.0009769/0.0009769, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001513/0.001513, allocations: 169.3 kB / 24.28 MB, free: 280 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.9042/0.9042, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.857/1.857, allocations: 377.8 MB / 0.6239 GB, free: 8.578 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.383e-06/1.383e-06, allocations: 0 / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.73e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003941/0.003958, allocations: 4.25 MB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.006448, allocations: 2.407 MB / 0.8181 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.006666, allocations: 11.94 kB / 0.8181 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.007795, allocations: 0.5241 MB / 0.8186 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.008088, allocations: 252.4 kB / 0.8189 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.008249, allocations: 143.8 kB / 0.819 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007606/0.00901, allocations: 0.8372 MB / 0.8198 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.009279, allocations: 215 kB / 0.82 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.009667, allocations: 463.7 kB / 0.8205 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.0099, allocations: 255.9 kB / 0.8207 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.009957, allocations: 72 kB / 0.8208 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.68e-05/0.01002, allocations: 77.09 kB / 0.8209 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.01014, allocations: 179.3 kB / 0.821 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.01031, allocations: 267.4 kB / 0.8213 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.0107, allocations: 0.4988 MB / 0.8218 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.0107, allocations: 1.312 kB / 0.8218 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.0107, allocations: 0 / 0.8218 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.01071, allocations: 0 / 0.8218 GB, free: 7.574 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008993/0.01161, allocations: 1.011 MB / 0.8228 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.01164, allocations: 8.031 kB / 0.8228 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.01175, allocations: 116.5 kB / 0.8229 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.01213, allocations: 379.1 kB / 0.8232 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.01215, allocations: 37.38 kB / 0.8233 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.01221, allocations: 55.75 kB / 0.8233 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.01259, allocations: 311.7 kB / 0.8236 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.0126, allocations: 4.125 kB / 0.8236 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.01263, allocations: 20.38 kB / 0.8236 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.01264, allocations: 15.94 kB / 0.8237 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.01293, allocations: 189.8 kB / 0.8238 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.01409, allocations: 1.198 MB / 0.825 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.01435, allocations: 220.6 kB / 0.8252 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.01457, allocations: 185.9 kB / 0.8254 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.01459, allocations: 8 kB / 0.8254 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.01461, allocations: 41.95 kB / 0.8254 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 1.512e-06/0.01461, allocations: 0 / 0.8254 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.0004313/0.01504, allocations: 334.4 kB / 0.8258 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.01507, allocations: 59.34 kB / 0.8258 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.01541, allocations: 478.7 kB / 0.8263 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.01543, allocations: 34.36 kB / 0.8263 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.0158, allocations: 345.1 kB / 0.8266 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.177e-05/0.01589, allocations: 154.7 kB / 0.8268 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01595, allocations: 71.66 kB / 0.8269 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01609, allocations: 0.5391 MB / 0.8274 GB, free: 1.633 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.01618, allocations: 60.7 kB / 0.8274 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.01626, allocations: 68.69 kB / 0.8275 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.01647, allocations: 165.1 kB / 0.8277 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01647, allocations: 0 / 0.8277 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002835/0.01675, allocations: 284.6 kB / 0.8279 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01677, allocations: 4 kB / 0.8279 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.01677, allocations: 0 / 0.8279 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01678, allocations: 4 kB / 0.8279 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.01706, allocations: 131.7 kB / 0.8281 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01707, allocations: 0.9375 kB / 0.8281 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.816e-05/0.01716, allocations: 31.78 kB / 0.8281 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.01717, allocations: 9.062 kB / 0.8281 GB, free: 0.8867 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 (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.0001023/0.01727, allocations: 172.5 kB / 0.8283 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.01732, allocations: 60.81 kB / 0.8283 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.01738, allocations: 56.8 kB / 0.8284 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01739, allocations: 8 kB / 0.8284 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01739, allocations: 5.062 kB / 0.8284 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.0174, allocations: 3.938 kB / 0.8284 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.01773, allocations: 432.2 kB / 0.8288 GB, free: 120 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01773, allocations: 0.5 kB / 0.8288 GB, free: 120 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.01801, allocations: 127.3 kB / 0.8289 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01801, allocations: 4 kB / 0.8289 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.01804, allocations: 4 kB / 0.8289 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01804, allocations: 4 kB / 0.8289 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01804, allocations: 0 / 0.8289 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.01848, allocations: 0.504 MB / 0.8294 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.01853, allocations: 55.58 kB / 0.8295 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.01857, allocations: 8 kB / 0.8295 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.01866, allocations: 16.7 kB / 0.8295 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.01871, allocations: 29.55 kB / 0.8295 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.01872, allocations: 12 kB / 0.8296 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000194/0.01891, allocations: 311 kB / 0.8298 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.01891, allocations: 0 / 0.8298 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000245/0.01916, allocations: 151.6 kB / 0.83 GB, free: 14.9 MB / 0.7917 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 8.5e-05/0.01924, allocations: 115.7 kB / 0.8301 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.0195, allocations: 199.4 kB / 0.8303 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.0195, allocations: 0 / 0.8303 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.01962, allocations: 127.4 kB / 0.8304 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01996, allocations: 99.77 kB / 0.8305 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.02118, allocations: 1.022 MB / 0.8315 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.02126, allocations: 129.8 kB / 0.8316 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.636e-05/0.02135, allocations: 39.39 kB / 0.8317 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.02142, allocations: 44.44 kB / 0.8317 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/0.02142, allocations: 0 / 0.8317 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of Templates: time 0.007118/0.02854, allocations: 5.004 MB / 0.8366 GB, free: 8.203 MB / 0.7917 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.883155423915014]