Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001742/0.001742, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001936/0.001936, allocations: 212.2 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.577/3.577, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 70.89 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4363, allocations: 181.9 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003536/0.4398, allocations: 1.432 MB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005922/0.4457, allocations: 2.647 MB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.4458, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.4458, allocations: 3.938 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.4459, allocations: 11.86 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.4514, allocations: 1.614 MB / 1.37 GB, free: 7.805 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.4515, allocations: 39.75 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.4516, allocations: 11.88 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.4516, allocations: 15.94 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.4516, allocations: 15.88 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4516, allocations: 4 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.455, allocations: 1.447 MB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.4551, allocations: 8 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.4551, allocations: 11.88 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.458, allocations: 1.079 MB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.458, allocations: 0 / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.214e-06/0.458, allocations: 0 / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.458, allocations: 0 / 1.372 GB, free: 5.168 MB / 1.061 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.001135/0.4592, allocations: 476 kB / 1.373 GB, free: 4.672 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.4592, allocations: 8.031 kB / 1.373 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4594, allocations: 80.22 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.4596, allocations: 193.8 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.655e-05/0.4597, allocations: 154.9 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4598, allocations: 150.9 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.4599, allocations: 105.1 kB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.46, allocations: 79.28 kB / 1.373 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.4601, allocations: 150.6 kB / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.77e-05/0.4602, allocations: 158.5 kB / 1.374 GB, free: 3.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4603, allocations: 150.6 kB / 1.374 GB, free: 3.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.4607, allocations: 421.5 kB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.4609, allocations: 169.1 kB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.4609, allocations: 88.08 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.461, allocations: 79.22 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.258e-05/0.4611, allocations: 105.8 kB / 1.375 GB, free: 2.531 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.482e-06/0.4611, allocations: 0 / 1.375 GB, free: 2.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001417/0.4612, allocations: 37.64 kB / 1.375 GB, free: 2.488 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.4613, allocations: 126.7 kB / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.4616, allocations: 139.3 kB / 1.375 GB, free: 2.207 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4616, allocations: 25.7 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.4617, allocations: 88.14 kB / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.4617, allocations: 0 / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.4617, allocations: 17.72 kB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.462, allocations: 318.8 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.022e-05/0.462, allocations: 8 kB / 1.375 GB, free: 1.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.462, allocations: 7.938 kB / 1.375 GB, free: 1.727 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.4621, allocations: 8.906 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4621, allocations: 4.031 kB / 1.375 GB, free: 1.711 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001941/0.4623, allocations: 45.69 kB / 1.375 GB, free: 1.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4623, allocations: 11.94 kB / 1.375 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.4624, allocations: 0 / 1.375 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.4624, allocations: 0 / 1.375 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-06/0.4624, allocations: 4 kB / 1.375 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4624, allocations: 0 / 1.375 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.4624, allocations: 7.953 kB / 1.375 GB, free: 1.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4624, allocations: 0 / 1.375 GB, free: 1.637 MB / 1.061 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.0001465/0.4626, allocations: 189.1 kB / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.4627, allocations: 124.8 kB / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.4627, allocations: 108.8 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/0.4629, allocations: 180.2 kB / 1.376 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.275e-05/0.4629, allocations: 180.3 kB / 1.376 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000107/0.4631, allocations: 188.2 kB / 1.376 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.4634, allocations: 368.8 kB / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.708e-05/0.4634, allocations: 101 kB / 1.377 GB, free: 136 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.4635, allocations: 108.9 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.4636, allocations: 176.3 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/0.4637, allocations: 180.2 kB / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/0.4638, allocations: 188.2 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000106/0.4639, allocations: 188.2 kB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.4641, allocations: 303.8 kB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.4642, allocations: 112.9 kB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.4643, allocations: 192.1 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4645, allocations: 101 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4646, allocations: 180.2 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.4646, allocations: 105 kB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001007/0.4647, allocations: 100.8 kB / 1.379 GB, free: 14.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4647, allocations: 0 / 1.379 GB, free: 14.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001073/0.4658, allocations: 295 kB / 1.379 GB, free: 13.86 MB / 1.076 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.00167/0.4675, allocations: 0.5308 MB / 1.379 GB, free: 13.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4676, allocations: 41.64 kB / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4676, allocations: 0 / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.4676, allocations: 0 / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.4682, allocations: 467.7 kB / 1.38 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.4687, allocations: 242.5 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.4688, allocations: 63.34 kB / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.4689, allocations: 0 / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.4689, allocations: 11.44 kB / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of SimCode: time 9.42e-07/0.4689, allocations: 0 / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of Templates: time 0.01287/0.4818, allocations: 5.755 MB / 1.386 GB, free: 6.75 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.130337711423635]