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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 101.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 64.42 kB / 0.9089 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.397, allocations: 159.1 MB / 1.064 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00268/0.3998, allocations: 1.428 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004201/0.404, allocations: 2.856 MB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.404, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.4041, allocations: 7.922 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.4042, allocations: 11.86 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.4077, allocations: 1.561 MB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.4078, allocations: 43.72 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.4079, allocations: 7.938 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.4079, allocations: 11.94 kB / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.02e-05/0.4079, allocations: 15.88 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.4079, allocations: 4 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.4098, allocations: 1.427 MB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.4099, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.4099, allocations: 27.8 kB / 1.072 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.4112, allocations: 1.076 MB / 1.073 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4112, allocations: 4 kB / 1.073 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4112, allocations: 0 / 1.073 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4112, allocations: 0 / 1.073 GB, free: 6.48 MB / 0.8419 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.000584/0.4118, allocations: 0.5123 MB / 1.073 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4118, allocations: 8.625 kB / 1.073 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.4119, allocations: 88.12 kB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.4121, allocations: 257.2 kB / 1.073 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.4121, allocations: 158.9 kB / 1.074 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.4122, allocations: 150.9 kB / 1.074 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.4123, allocations: 113.1 kB / 1.074 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.4123, allocations: 75.28 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.4124, allocations: 150.6 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.4124, allocations: 150.6 kB / 1.074 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.4125, allocations: 150.6 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.4128, allocations: 469.9 kB / 1.075 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.4129, allocations: 173.1 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.4129, allocations: 88.12 kB / 1.075 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4129, allocations: 75.28 kB / 1.075 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.413, allocations: 113.8 kB / 1.075 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.413, allocations: 4 kB / 1.075 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.625e-05/0.4131, allocations: 33.55 kB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.4132, allocations: 130.7 kB / 1.075 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4133, allocations: 135.5 kB / 1.075 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.4133, allocations: 25.7 kB / 1.075 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.4134, allocations: 88.05 kB / 1.076 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.4134, allocations: 0 / 1.076 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.4134, allocations: 21.72 kB / 1.076 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4135, allocations: 318.8 kB / 1.076 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.4136, allocations: 8 kB / 1.076 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.4136, allocations: 4 kB / 1.076 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.4136, allocations: 8.859 kB / 1.076 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4136, allocations: 0 / 1.076 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000118/0.4137, allocations: 53.56 kB / 1.076 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4138, allocations: 8 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4138, allocations: 0 / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4138, allocations: 0 / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.4138, allocations: 64 / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4138, allocations: 8 kB / 1.076 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.4139, allocations: 7.844 kB / 1.076 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.4139, allocations: 0 / 1.076 GB, free: 2.727 MB / 0.8419 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 8.619e-05/0.414, allocations: 189.6 kB / 1.076 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.414, allocations: 112.9 kB / 1.076 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.4141, allocations: 112.8 kB / 1.076 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.519e-05/0.4141, allocations: 180.3 kB / 1.077 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/0.4142, allocations: 180.2 kB / 1.077 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/0.4143, allocations: 188.2 kB / 1.077 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.4145, allocations: 409.2 kB / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.4145, allocations: 108.9 kB / 1.077 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.4146, allocations: 105 kB / 1.078 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.164e-05/0.4146, allocations: 184.2 kB / 1.078 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.4147, allocations: 180.2 kB / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.897e-05/0.4148, allocations: 180.3 kB / 1.078 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.694e-05/0.4149, allocations: 188.1 kB / 1.078 GB, free: 316 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7034/1.118, allocations: 311.7 kB / 1.079 GB, free: 22.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/1.118, allocations: 184.6 kB / 1.079 GB, free: 22.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/1.118, allocations: 182.3 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/1.119, allocations: 106.2 kB / 1.079 GB, free: 21.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/1.119, allocations: 178.8 kB / 1.079 GB, free: 21.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/1.119, allocations: 105.9 kB / 1.079 GB, free: 21.69 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.762e-05/1.119, allocations: 104.7 kB / 1.079 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/1.119, allocations: 0 / 1.079 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001231/1.12, allocations: 272.8 kB / 1.08 GB, free: 21.62 MB / 0.8419 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.001358/1.121, allocations: 0.5243 MB / 1.08 GB, free: 21.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001415/1.121, allocations: 38.22 kB / 1.08 GB, free: 21.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.121, allocations: 3.719 kB / 1.08 GB, free: 21.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-06/1.121, allocations: 1.281 kB / 1.08 GB, free: 21.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/1.122, allocations: 460.8 kB / 1.081 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/1.122, allocations: 258.3 kB / 1.081 GB, free: 20.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/1.122, allocations: 0.6825 MB / 1.081 GB, free: 20.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/1.122, allocations: 9.625 kB / 1.082 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/1.122, allocations: 0 / 1.082 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.01315/1.136, allocations: 4.646 MB / 1.086 GB, free: 19.65 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) 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/jenkins1/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) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg,time,x