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.InternalResistancesOneUTubeNegative.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.0007656/0.0007656, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009782/0.001744, 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.000687/0.000687, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000884/0.001571, 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.8402/0.8402, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07356/0.9137, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.731/1.731, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4074/2.138, allocations: 123.3 MB / 0.728 GB, free: 5.816 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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.6562 kB / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.141e-05, allocations: 4.844 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002702/0.002723, allocations: 1.531 MB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004394/0.007118, allocations: 2.8 MB / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.007155, allocations: 0 / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.007167, allocations: 0 / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.007215, allocations: 24.44 kB / 0.7336 GB, free: 140 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.0105, allocations: 1.539 MB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.01059, allocations: 35.73 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.01062, allocations: 8.688 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.01068, allocations: 19.98 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.01071, allocations: 16.8 kB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.01072, allocations: 4 kB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.01292, allocations: 1.517 MB / 0.7367 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.01293, allocations: 1.938 kB / 0.7367 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.01295, allocations: 11.94 kB / 0.7367 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.01435, allocations: 1.04 MB / 0.7377 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.01436, allocations: 0 / 0.7377 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01436, allocations: 0 / 0.7377 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.01438, allocations: 1.219 kB / 0.7377 GB, free: 11.97 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.0008645/0.01524, allocations: 0.5256 MB / 0.7383 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.01528, allocations: 11.98 kB / 0.7383 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.01533, allocations: 80.72 kB / 0.7383 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.01544, allocations: 189 kB / 0.7385 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.01549, allocations: 155.9 kB / 0.7387 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.01553, allocations: 150.9 kB / 0.7388 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.421e-05/0.01559, allocations: 110.1 kB / 0.7389 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.01561, allocations: 75.47 kB / 0.739 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.01565, allocations: 159.3 kB / 0.7391 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.01569, allocations: 150.6 kB / 0.7393 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.266e-05/0.01573, allocations: 151.6 kB / 0.7394 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.01592, allocations: 357.3 kB / 0.7398 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.73e-05/0.01599, allocations: 175.1 kB / 0.7399 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.01602, allocations: 80.14 kB / 0.74 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.01604, allocations: 75.28 kB / 0.7401 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.01609, allocations: 109.8 kB / 0.7402 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.01609, allocations: 0 / 0.7402 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.904e-05/0.01615, allocations: 32.45 kB / 0.7402 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.01621, allocations: 134.6 kB / 0.7403 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.01632, allocations: 141.7 kB / 0.7405 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.01633, allocations: 25.7 kB / 0.7405 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.01637, allocations: 92.11 kB / 0.7406 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.01637, allocations: 0 / 0.7406 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.01641, allocations: 13.72 kB / 0.7406 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01651, allocations: 322.8 kB / 0.7409 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.01653, allocations: 5.625 kB / 0.7409 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.01653, allocations: 0 / 0.7409 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.01656, allocations: 8.859 kB / 0.7409 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01657, allocations: 0 / 0.7409 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.863e-05/0.01664, allocations: 38.19 kB / 0.741 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01666, allocations: 15.06 kB / 0.741 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.01668, allocations: 4 kB / 0.741 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.01668, allocations: 0 / 0.741 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-06/0.01669, allocations: 0 / 0.741 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.01669, allocations: 0 / 0.741 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.01671, allocations: 11.89 kB / 0.741 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.01672, allocations: 4 kB / 0.741 GB, free: 8.477 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.247e-05/0.01679, allocations: 181.1 kB / 0.7412 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.01685, allocations: 111.4 kB / 0.7413 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.0169, allocations: 108.7 kB / 0.7414 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-05/0.01695, allocations: 180.3 kB / 0.7416 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-05/0.017, allocations: 176.4 kB / 0.7417 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/0.01706, allocations: 204.2 kB / 0.7419 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.01723, allocations: 321.4 kB / 0.7422 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.01726, allocations: 108.9 kB / 0.7423 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.01729, allocations: 102.2 kB / 0.7424 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.01733, allocations: 105 kB / 0.7425 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-05/0.01738, allocations: 184.2 kB / 0.7427 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.01743, allocations: 177.1 kB / 0.7429 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.875e-05/0.01748, allocations: 184.2 kB / 0.743 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.802e-05/0.01753, allocations: 185.4 kB / 0.7432 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.01763, allocations: 307.7 kB / 0.7435 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.667e-05/0.0177, allocations: 184.2 kB / 0.7437 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.01777, allocations: 108.4 kB / 0.7438 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.01783, allocations: 176.3 kB / 0.744 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.01787, allocations: 108.9 kB / 0.7441 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.015e-05/0.0179, allocations: 20.84 kB / 0.7441 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.0179, allocations: 4 kB / 0.7441 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007365/0.01863, allocations: 290.9 kB / 0.7444 GB, free: 4.848 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.001036/0.01967, allocations: 0.5748 MB / 0.7449 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.01975, allocations: 38.5 kB / 0.745 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.01975, allocations: 4 kB / 0.745 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.01975, allocations: 0 / 0.745 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.02031, allocations: 472.3 kB / 0.7454 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.0212, allocations: 251.5 kB / 0.7457 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.02124, allocations: 55.34 kB / 0.7457 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.02126, allocations: 4 kB / 0.7457 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.02131, allocations: 51.38 kB / 0.7458 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.02131, allocations: 0 / 0.7458 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of Templates: time 0.01261/0.03392, allocations: 7.155 MB / 0.7528 GB, free: 12.38 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Not compared, constant in the reference and not in the result: x Reference file matches [Calling sys.exit(0), Time elapsed: 4.73888027947396]