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.001142/0.001142, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002848, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001284/0.001284, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.00284, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.924/0.924, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07705/1.001, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.734/1.734, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4225/2.156, allocations: 123.3 MB / 0.728 GB, free: 5.848 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.763e-06/1.763e-06, allocations: 0 / 0.7294 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.127e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002776/0.002797, allocations: 1.535 MB / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004421/0.007218, allocations: 2.8 MB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.007254, allocations: 0 / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.00727, allocations: 5.656 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.007321, allocations: 15.8 kB / 0.7336 GB, free: 176 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.01107, allocations: 1.533 MB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.01117, allocations: 40.86 kB / 0.7352 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.0112, allocations: 7.938 kB / 0.7352 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.01127, allocations: 23.97 kB / 0.7352 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.01131, allocations: 20.83 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.01132, allocations: 0 / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.01382, allocations: 1.51 MB / 0.7367 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.01383, allocations: 4 kB / 0.7367 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.01386, allocations: 12.97 kB / 0.7367 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.01536, allocations: 1.037 MB / 0.7377 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.879e-05/0.01538, allocations: 0 / 0.7377 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.183e-06/0.01538, allocations: 0.5625 kB / 0.7377 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.0154, allocations: 0 / 0.7377 GB, free: 12.01 MB / 0.7136 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.000754/0.01615, allocations: 0.5273 MB / 0.7382 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.01619, allocations: 15.98 kB / 0.7383 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.01624, allocations: 80.2 kB / 0.7383 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.01637, allocations: 195.2 kB / 0.7385 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.01642, allocations: 156.2 kB / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.01647, allocations: 150.9 kB / 0.7388 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.087e-05/0.01652, allocations: 105.5 kB / 0.7389 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.01654, allocations: 75.47 kB / 0.739 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.01659, allocations: 155.2 kB / 0.7391 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.01663, allocations: 151.3 kB / 0.7393 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.01668, allocations: 158.5 kB / 0.7394 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.01687, allocations: 349.9 kB / 0.7398 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.332e-05/0.01694, allocations: 177.1 kB / 0.7399 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.01697, allocations: 80.89 kB / 0.74 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.01699, allocations: 76.34 kB / 0.7401 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.01703, allocations: 113.8 kB / 0.7402 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.01703, allocations: 0 / 0.7402 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.511e-05/0.0171, allocations: 30.81 kB / 0.7402 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.01717, allocations: 130.7 kB / 0.7403 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.01728, allocations: 134.5 kB / 0.7405 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.01729, allocations: 26.73 kB / 0.7405 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.01734, allocations: 92.11 kB / 0.7406 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.01734, allocations: 0 / 0.7406 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.01739, allocations: 18.64 kB / 0.7406 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.01748, allocations: 318.8 kB / 0.7409 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.0175, allocations: 7.922 kB / 0.7409 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.01751, allocations: 1.125 kB / 0.7409 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.47e-05/0.01754, allocations: 16.78 kB / 0.7409 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01755, allocations: 2.75 kB / 0.7409 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.01767, allocations: 41.69 kB / 0.741 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01769, allocations: 4 kB / 0.741 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.01771, allocations: 0 / 0.741 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.01772, allocations: 0 / 0.741 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-06/0.01772, allocations: 0 / 0.741 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.01773, allocations: 0 / 0.741 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.01775, allocations: 11.89 kB / 0.741 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.01776, allocations: 2.531 kB / 0.741 GB, free: 8.516 MB / 0.7136 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 7.866e-05/0.01784, allocations: 181.1 kB / 0.7412 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.01789, allocations: 108.9 kB / 0.7413 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.01794, allocations: 108.8 kB / 0.7414 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.836e-05/0.01799, allocations: 188.2 kB / 0.7416 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.71e-05/0.01803, allocations: 176.4 kB / 0.7417 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001196/0.01815, allocations: 194.5 kB / 0.7419 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.01832, allocations: 325.4 kB / 0.7422 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/0.01834, allocations: 101 kB / 0.7423 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.01838, allocations: 108.9 kB / 0.7424 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.01841, allocations: 105 kB / 0.7425 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-05/0.01846, allocations: 180.3 kB / 0.7427 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.01851, allocations: 188.7 kB / 0.7429 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.684e-05/0.01855, allocations: 181.1 kB / 0.743 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-05/0.0186, allocations: 180.2 kB / 0.7432 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.01871, allocations: 306.1 kB / 0.7435 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.01889, allocations: 184.2 kB / 0.7437 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.01896, allocations: 105 kB / 0.7438 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.01902, allocations: 188.2 kB / 0.744 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.01905, allocations: 101 kB / 0.7441 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.01908, allocations: 28.27 kB / 0.7441 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01908, allocations: 0 / 0.7441 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008109/0.01989, allocations: 293.4 kB / 0.7444 GB, free: 4.887 MB / 0.7136 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.001073/0.02096, allocations: 0.5633 MB / 0.7449 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.02105, allocations: 59.53 kB / 0.745 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.02106, allocations: 0 / 0.745 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.02106, allocations: 0.9062 kB / 0.745 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.02136, allocations: 464.4 kB / 0.7454 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.02229, allocations: 246.5 kB / 0.7457 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.02234, allocations: 63.28 kB / 0.7457 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.02235, allocations: 0 / 0.7457 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.02241, allocations: 54.03 kB / 0.7458 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.02241, allocations: 0 / 0.7458 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.01328/0.03569, allocations: 7.156 MB / 0.7528 GB, free: 12.41 MB / 0.7292 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.ref.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.892653841525316]