Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001264/0.001264, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0011/0.0011, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9243/0.9243, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.783/1.783, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.877e-06/3.877e-06, allocations: 4.531 kB / 0.8129 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.471e-05, allocations: 6.312 kB / 0.8129 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002824/0.002849, allocations: 1.495 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.007221, allocations: 2.771 MB / 0.8171 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.007273, allocations: 0 / 0.8171 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.0073, allocations: 7.922 kB / 0.8171 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.007369, allocations: 16.39 kB / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.01164, allocations: 1.638 MB / 0.8187 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.458e-05/0.01174, allocations: 43.67 kB / 0.8187 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.01178, allocations: 7.906 kB / 0.8187 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.01182, allocations: 23.92 kB / 0.8187 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.01185, allocations: 15.92 kB / 0.8188 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.01186, allocations: 1.531 kB / 0.8188 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.01427, allocations: 1.489 MB / 0.8202 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.01429, allocations: 5.109 kB / 0.8202 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.01432, allocations: 15.94 kB / 0.8202 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.01621, allocations: 1.286 MB / 0.8215 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.01621, allocations: 1.094 kB / 0.8215 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01621, allocations: 0 / 0.8215 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.01622, allocations: 0 / 0.8215 GB, free: 8.555 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006233/0.01684, allocations: 0.5615 MB / 0.822 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.01688, allocations: 12.03 kB / 0.8221 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.01694, allocations: 126 kB / 0.8222 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.01707, allocations: 247.7 kB / 0.8224 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.01714, allocations: 238.8 kB / 0.8226 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.0172, allocations: 238.8 kB / 0.8229 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.01726, allocations: 145.5 kB / 0.823 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.01729, allocations: 128.7 kB / 0.8231 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.01735, allocations: 242.5 kB / 0.8234 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.01741, allocations: 238.4 kB / 0.8236 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.01747, allocations: 242.4 kB / 0.8238 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.01773, allocations: 0.5696 MB / 0.8244 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.092e-05/0.01782, allocations: 269.4 kB / 0.8246 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.01786, allocations: 135.5 kB / 0.8248 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.01789, allocations: 119.2 kB / 0.8249 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.01794, allocations: 156.3 kB / 0.825 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.01794, allocations: 0 / 0.825 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.424e-05/0.018, allocations: 33.66 kB / 0.8251 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.01806, allocations: 170.6 kB / 0.8252 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.01819, allocations: 201.8 kB / 0.8254 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.0182, allocations: 25.7 kB / 0.8254 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.01825, allocations: 134.9 kB / 0.8256 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.01825, allocations: 0 / 0.8256 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.01829, allocations: 27.34 kB / 0.8256 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.01843, allocations: 0.4884 MB / 0.8261 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.01845, allocations: 5.594 kB / 0.8261 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.01846, allocations: 4 kB / 0.8261 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.01849, allocations: 15.67 kB / 0.8261 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01849, allocations: 0 / 0.8261 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001107/0.0186, allocations: 50.66 kB / 0.8261 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01862, allocations: 5.406 kB / 0.8261 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.01864, allocations: 4 kB / 0.8261 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.01865, allocations: 5.047 kB / 0.8262 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.01865, allocations: 0 / 0.8262 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01865, allocations: 6.5 kB / 0.8262 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.01868, allocations: 7.953 kB / 0.8262 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01868, allocations: 3.984 kB / 0.8262 GB, free: 3.57 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.696e-05/0.01878, allocations: 275.7 kB / 0.8264 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.01884, allocations: 148.9 kB / 0.8266 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.01889, allocations: 152.7 kB / 0.8267 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-05/0.01896, allocations: 272 kB / 0.827 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-05/0.01902, allocations: 269.7 kB / 0.8272 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.7e-05/0.01909, allocations: 276 kB / 0.8275 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.0193, allocations: 484.5 kB / 0.828 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-05/0.01934, allocations: 148.9 kB / 0.8281 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.01938, allocations: 149.6 kB / 0.8282 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.466e-05/0.01944, allocations: 268.8 kB / 0.8285 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.01951, allocations: 276 kB / 0.8288 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.458e-05/0.01958, allocations: 273 kB / 0.829 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-05/0.01964, allocations: 268.1 kB / 0.8293 GB, free: 268 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.0198, allocations: 451.9 kB / 0.8297 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.01985, allocations: 160.8 kB / 0.8299 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.01992, allocations: 268 kB / 0.8301 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.02001, allocations: 144.9 kB / 0.8303 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.02008, allocations: 280 kB / 0.8305 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.02012, allocations: 148.9 kB / 0.8307 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.02017, allocations: 137.5 kB / 0.8308 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.02017, allocations: 0 / 0.8308 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008733/0.02105, allocations: 295 kB / 0.8311 GB, free: 14.36 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000818/0.02187, allocations: 0.6415 MB / 0.8317 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.02195, allocations: 53.31 kB / 0.8318 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02195, allocations: 0 / 0.8318 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.02195, allocations: 0 / 0.8318 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.02224, allocations: 0.7062 MB / 0.8324 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.02244, allocations: 277.4 kB / 0.8327 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.733e-05/0.02247, allocations: 59.22 kB / 0.8328 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.415e-06/0.02248, allocations: 0 / 0.8328 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.02252, allocations: 78.19 kB / 0.8328 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of SimCode: time 6.81e-07/0.02252, allocations: 0 / 0.8328 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of Templates: time 0.007432/0.02995, allocations: 7.365 MB / 0.84 GB, free: 5.156 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.032730862032622]