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.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.001064/0.001064, allocations: 81.95 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.0009036/0.0009036, allocations: 166.1 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.8894/0.8894, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.749/1.749, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8129 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.684e-05, allocations: 7.016 kB / 0.8129 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002873/0.0029, allocations: 1.486 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.00749, allocations: 2.735 MB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.007542, allocations: 0 / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.007568, allocations: 3.938 kB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.007644, allocations: 24.34 kB / 0.817 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.01155, allocations: 1.607 MB / 0.8186 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.01165, allocations: 43.73 kB / 0.8186 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.01169, allocations: 0.8438 kB / 0.8186 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.01173, allocations: 23.92 kB / 0.8187 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.01176, allocations: 14.58 kB / 0.8187 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.01177, allocations: 0 / 0.8187 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.01419, allocations: 1.462 MB / 0.8201 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.0142, allocations: 0 / 0.8201 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.01423, allocations: 11.94 kB / 0.8201 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.0163, allocations: 1.258 MB / 0.8213 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01631, allocations: 6.781 kB / 0.8214 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01631, allocations: 0 / 0.8214 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.01631, allocations: 0 / 0.8214 GB, free: 8.688 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.0006332/0.01694, allocations: 0.5569 MB / 0.8219 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.01699, allocations: 8.031 kB / 0.8219 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.01705, allocations: 124.1 kB / 0.822 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.01719, allocations: 243.7 kB / 0.8223 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.01727, allocations: 243.7 kB / 0.8225 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.01734, allocations: 238.8 kB / 0.8227 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.125e-05/0.01741, allocations: 145.5 kB / 0.8229 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.01746, allocations: 120.5 kB / 0.823 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/0.01755, allocations: 250.5 kB / 0.8232 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.189e-05/0.01762, allocations: 238.4 kB / 0.8234 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.01769, allocations: 243.4 kB / 0.8237 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.01799, allocations: 0.5608 MB / 0.8242 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.01809, allocations: 261.4 kB / 0.8245 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.01813, allocations: 132 kB / 0.8246 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.01817, allocations: 123.2 kB / 0.8247 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.01822, allocations: 161.7 kB / 0.8249 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.01822, allocations: 0 / 0.8249 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.348e-05/0.0183, allocations: 37.64 kB / 0.8249 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.01837, allocations: 171.1 kB / 0.8251 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.01851, allocations: 185.8 kB / 0.8252 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.01852, allocations: 34.86 kB / 0.8253 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.01858, allocations: 134.9 kB / 0.8254 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.01858, allocations: 0 / 0.8254 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.01862, allocations: 24.33 kB / 0.8254 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.01877, allocations: 0.4923 MB / 0.8259 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.01879, allocations: 0 / 0.8259 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.0188, allocations: 9.328 kB / 0.8259 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.01885, allocations: 19.61 kB / 0.8259 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01885, allocations: 0 / 0.8259 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.01896, allocations: 42.75 kB / 0.826 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01898, allocations: 8 kB / 0.826 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.019, allocations: 0 / 0.826 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.01901, allocations: 4.656 kB / 0.826 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.01901, allocations: 0 / 0.826 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.01901, allocations: 9.25 kB / 0.826 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.01904, allocations: 3.938 kB / 0.826 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.01905, allocations: 3.984 kB / 0.826 GB, free: 3.727 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 0.0001133/0.01916, allocations: 278.7 kB / 0.8263 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.01924, allocations: 152.8 kB / 0.8264 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.0193, allocations: 160.7 kB / 0.8266 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-05/0.01938, allocations: 268 kB / 0.8268 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.899e-05/0.01946, allocations: 272.1 kB / 0.8271 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.973e-05/0.01954, allocations: 268 kB / 0.8273 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.02005, allocations: 484.5 kB / 0.8278 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/0.02009, allocations: 149.6 kB / 0.8279 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.02013, allocations: 148.8 kB / 0.8281 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.217e-05/0.0202, allocations: 269.9 kB / 0.8283 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/0.02028, allocations: 276.1 kB / 0.8286 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.689e-05/0.02034, allocations: 268 kB / 0.8289 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.851e-05/0.02041, allocations: 268.1 kB / 0.8291 GB, free: 428 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.02057, allocations: 447.9 kB / 0.8295 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.02063, allocations: 160.8 kB / 0.8297 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.02071, allocations: 272.1 kB / 0.83 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.02079, allocations: 144.9 kB / 0.8301 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.02087, allocations: 272 kB / 0.8303 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.02091, allocations: 148.9 kB / 0.8305 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.162e-05/0.02097, allocations: 144.5 kB / 0.8306 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.02097, allocations: 0 / 0.8306 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000943/0.02191, allocations: 287 kB / 0.8309 GB, free: 14.52 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.001068/0.02298, allocations: 0.6239 MB / 0.8315 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.471e-05/0.02308, allocations: 45.33 kB / 0.8316 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02308, allocations: 3.938 kB / 0.8316 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.02308, allocations: 0 / 0.8316 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.02355, allocations: 0.714 MB / 0.8323 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.02386, allocations: 277.2 kB / 0.8325 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.824e-05/0.0239, allocations: 55.34 kB / 0.8326 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.02391, allocations: 4 kB / 0.8326 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.02397, allocations: 74.2 kB / 0.8326 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of SimCode: time 1.012e-06/0.02397, allocations: 0 / 0.8326 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of Templates: time 0.01279/0.03676, allocations: 7.172 MB / 0.8397 GB, free: 5.531 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.918581594247371]