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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00111/0.00111, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001427/0.001427, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 7.281 kB / 0.9022 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3651, allocations: 159.6 MB / 1.058 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001868/0.367, allocations: 1.133 MB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004605/0.3717, allocations: 2.641 MB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.3717, allocations: 0 / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.3718, allocations: 3.938 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.3719, allocations: 15.84 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.3757, allocations: 1.227 MB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.3758, allocations: 35.75 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.3758, allocations: 7.969 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.3759, allocations: 15.94 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.3759, allocations: 11.94 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3759, allocations: 0 / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.378, allocations: 1.217 MB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.3781, allocations: 4 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.3781, allocations: 33.64 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.379, allocations: 0.6982 MB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.379, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.379, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.379, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 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.000586/0.3796, allocations: 0.5067 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3797, allocations: 12.03 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.3798, allocations: 79.28 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3799, allocations: 250.2 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.38, allocations: 158.5 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.3801, allocations: 150.6 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.058e-05/0.3802, allocations: 108.9 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.3802, allocations: 79.22 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.3803, allocations: 154.6 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/0.3803, allocations: 150.6 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.3804, allocations: 154.6 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.3807, allocations: 461.9 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.3808, allocations: 185 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.3809, allocations: 80.14 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.3809, allocations: 75.28 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.381, allocations: 109.8 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.381, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.348e-05/0.381, allocations: 37.59 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.3811, allocations: 130.7 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3813, allocations: 131.7 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3813, allocations: 29.64 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3813, allocations: 88.14 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.3813, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.3814, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3815, allocations: 314.8 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.3815, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.3816, allocations: 15.98 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.3816, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3816, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.3817, allocations: 53.55 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3818, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.3818, allocations: 4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3818, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.3818, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3818, allocations: 3.984 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.3819, allocations: 4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3819, allocations: 64 / 1.068 GB, free: 10.45 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.382, allocations: 189.1 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.3821, allocations: 116.8 kB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.3821, allocations: 112.9 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-05/0.3822, allocations: 180.2 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.371e-05/0.3823, allocations: 176.3 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-05/0.3823, allocations: 184.2 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.3826, allocations: 417.2 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/0.3826, allocations: 101 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.526e-05/0.3827, allocations: 104.9 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.317e-05/0.3828, allocations: 180.3 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.3828, allocations: 188.2 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.563e-05/0.3829, allocations: 188.2 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-05/0.383, allocations: 180.2 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3832, allocations: 311.9 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.3833, allocations: 186 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.958e-05/0.3834, allocations: 184.3 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.3834, allocations: 113 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.3835, allocations: 180.2 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.3836, allocations: 101 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.3836, allocations: 101.6 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3837, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006494/0.3843, allocations: 275.8 kB / 1.072 GB, free: 6.535 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009979/0.3853, allocations: 0.498 MB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.274e-05/0.3854, allocations: 41.64 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3854, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.3854, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.3859, allocations: 0.5341 MB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.3862, allocations: 243.7 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3866, allocations: 0.6887 MB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.799e-05/0.3866, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.3866, allocations: 11.44 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3866, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.01063/0.3973, allocations: 5.424 MB / 1.079 GB, free: 15.07 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/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) Reference file matches