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.001001/0.001001, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001004/0.001004, allocations: 165 kB / 23.82 MB, free: 0.75 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.9105/0.9105, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.835/1.835, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.412e-06/1.412e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.19e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004189/0.004211, allocations: 4.283 MB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.007063, allocations: 2.416 MB / 0.8181 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.007335, allocations: 12 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.008632, allocations: 0.5149 MB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.008984, allocations: 257.6 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.009158, allocations: 143.8 kB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.009737, allocations: 0.8404 MB / 0.8199 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.01007, allocations: 222 kB / 0.8201 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.01055, allocations: 463 kB / 0.8205 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.01114, allocations: 247.3 kB / 0.8207 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.01121, allocations: 76 kB / 0.8208 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.01128, allocations: 72 kB / 0.8209 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.01141, allocations: 183.3 kB / 0.8211 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.0116, allocations: 263.4 kB / 0.8213 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.01205, allocations: 0.5104 MB / 0.8218 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.01206, allocations: 3.938 kB / 0.8218 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.183e-06/0.01206, allocations: 1.938 kB / 0.8218 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.01206, allocations: 0 / 0.8218 GB, free: 7.219 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.001009/0.01307, allocations: 0.9941 MB / 0.8228 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.01311, allocations: 8.031 kB / 0.8228 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.01323, allocations: 116.5 kB / 0.8229 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.01364, allocations: 381.2 kB / 0.8233 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.01367, allocations: 37.38 kB / 0.8233 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.01373, allocations: 48.38 kB / 0.8234 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.01422, allocations: 311.7 kB / 0.8237 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.01424, allocations: 4.141 kB / 0.8237 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.01428, allocations: 25.31 kB / 0.8237 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.0143, allocations: 11.94 kB / 0.8237 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.01467, allocations: 185.8 kB / 0.8239 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01596, allocations: 1.21 MB / 0.8251 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.01624, allocations: 212.7 kB / 0.8253 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.01648, allocations: 189.7 kB / 0.8254 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.0165, allocations: 9.656 kB / 0.8254 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.01652, allocations: 37.39 kB / 0.8255 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.01652, allocations: 0 / 0.8255 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.0004648/0.01699, allocations: 337.2 kB / 0.8258 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.01702, allocations: 63.84 kB / 0.8259 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.01738, allocations: 476 kB / 0.8263 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.0174, allocations: 33.7 kB / 0.8263 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.01756, allocations: 343.3 kB / 0.8267 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.063e-05/0.01765, allocations: 150.6 kB / 0.8268 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.01773, allocations: 69.44 kB / 0.8269 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.01789, allocations: 0.5469 MB / 0.8274 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.01799, allocations: 58.06 kB / 0.8275 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.01807, allocations: 61.2 kB / 0.8275 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.01858, allocations: 176.8 kB / 0.8277 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01858, allocations: 0 / 0.8277 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000299/0.01888, allocations: 274.2 kB / 0.828 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.01889, allocations: 7.938 kB / 0.828 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.0189, allocations: 7.984 kB / 0.828 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01892, allocations: 2.906 kB / 0.828 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.01922, allocations: 123.8 kB / 0.8281 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01923, allocations: 0 / 0.8281 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01934, allocations: 31.77 kB / 0.8281 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01935, allocations: 12 kB / 0.8281 GB, free: 0.5547 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.0001127/0.01946, allocations: 172.5 kB / 0.8283 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.01952, allocations: 71.59 kB / 0.8284 GB, free: 312 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.01959, allocations: 56.81 kB / 0.8284 GB, free: 252 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01959, allocations: 4 kB / 0.8284 GB, free: 248 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.0196, allocations: 3.938 kB / 0.8284 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.0196, allocations: 3.984 kB / 0.8284 GB, free: 240 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.01997, allocations: 428.2 kB / 0.8288 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01998, allocations: 0 / 0.8288 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.02026, allocations: 123.9 kB / 0.829 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.02026, allocations: 0 / 0.829 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.02029, allocations: 20 kB / 0.829 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.02029, allocations: 3.984 kB / 0.829 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02029, allocations: 0 / 0.829 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.02077, allocations: 0.5002 MB / 0.8295 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.02083, allocations: 55.58 kB / 0.8295 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.02086, allocations: 8 kB / 0.8295 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.02096, allocations: 16 kB / 0.8296 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.02104, allocations: 27.83 kB / 0.8296 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.02105, allocations: 15.98 kB / 0.8296 GB, free: 15 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002303/0.02128, allocations: 311 kB / 0.8299 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.02128, allocations: 4 kB / 0.8299 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003075/0.02159, allocations: 155.6 kB / 0.83 GB, free: 14.54 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 0.0001401/0.02173, allocations: 111.2 kB / 0.8301 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.02202, allocations: 199.4 kB / 0.8303 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02202, allocations: 0 / 0.8303 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.02214, allocations: 119.5 kB / 0.8305 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.02255, allocations: 101.5 kB / 0.8305 GB, free: 14 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.02392, allocations: 1.029 MB / 0.8316 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.084e-05/0.024, allocations: 125.8 kB / 0.8317 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.02411, allocations: 43.38 kB / 0.8317 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.02418, allocations: 32.5 kB / 0.8317 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/0.02419, allocations: 0 / 0.8317 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of Templates: time 0.007921/0.03211, allocations: 5.006 MB / 0.8366 GB, free: 7.859 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: 5.181515021249652]