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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.002102/0.002102, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.91 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003111/1.046, allocations: 1.442 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004909/1.051, allocations: 2.898 MB / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/1.051, allocations: 0 / 1.213 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/1.051, allocations: 7.922 kB / 1.213 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/1.051, allocations: 11.88 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004602/1.056, allocations: 1.587 MB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/1.056, allocations: 43.67 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/1.056, allocations: 4 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/1.056, allocations: 15.94 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/1.056, allocations: 19.86 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/1.056, allocations: 4 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/1.059, allocations: 1.533 MB / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/1.059, allocations: 4 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/1.059, allocations: 19.86 kB / 1.216 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/1.061, allocations: 1.121 MB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.061, allocations: 0 / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/1.061, allocations: 0 / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.061, allocations: 4 kB / 1.217 GB, free: 4.91 MB / 0.9356 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.0008514/1.062, allocations: 0.5107 MB / 1.218 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.062, allocations: 8.031 kB / 1.218 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/1.062, allocations: 84.16 kB / 1.218 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/1.062, allocations: 249.9 kB / 1.218 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/1.062, allocations: 158.9 kB / 1.218 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/1.062, allocations: 154.9 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.782e-05/1.062, allocations: 109.1 kB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/1.062, allocations: 75.28 kB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/1.062, allocations: 150.6 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/1.062, allocations: 154.5 kB / 1.219 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/1.062, allocations: 150.6 kB / 1.219 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/1.063, allocations: 469.8 kB / 1.219 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.566e-05/1.063, allocations: 165.1 kB / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/1.063, allocations: 84.14 kB / 1.219 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.063, allocations: 83.22 kB / 1.22 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.063, allocations: 113.8 kB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/1.063, allocations: 0 / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.739e-05/1.063, allocations: 29.7 kB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.063, allocations: 126.7 kB / 1.22 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/1.063, allocations: 137.7 kB / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/1.063, allocations: 25.7 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/1.063, allocations: 88.16 kB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-06/1.063, allocations: 4 kB / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/1.063, allocations: 21.72 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.064, allocations: 322.8 kB / 1.22 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/1.064, allocations: 4 kB / 1.22 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/1.064, allocations: 7.938 kB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/1.064, allocations: 16.86 kB / 1.22 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.064, allocations: 0 / 1.22 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001423/1.064, allocations: 57.53 kB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.064, allocations: 7.938 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.064, allocations: 8.062 kB / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.064, allocations: 0 / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/1.064, allocations: 0 / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.064, allocations: 0 / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/1.064, allocations: 3.938 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.064, allocations: 4 kB / 1.22 GB, free: 1.156 MB / 0.9356 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.0001042/1.064, allocations: 189.1 kB / 1.221 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/1.064, allocations: 120.7 kB / 1.221 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/1.064, allocations: 112.9 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-05/1.064, allocations: 184.2 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-05/1.064, allocations: 176.3 kB / 1.221 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/1.064, allocations: 184.2 kB / 1.221 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/1.065, allocations: 413.2 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-05/1.065, allocations: 108.9 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/1.065, allocations: 104.9 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.471e-05/1.065, allocations: 180.2 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/1.065, allocations: 184.3 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/1.065, allocations: 180.2 kB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.185e-05/1.065, allocations: 176.3 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/1.065, allocations: 315.8 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/1.065, allocations: 189.9 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/1.065, allocations: 180.2 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/1.065, allocations: 109 kB / 1.223 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/1.066, allocations: 188.2 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/1.066, allocations: 105 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.282e-05/1.066, allocations: 100.7 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/1.066, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008775/1.067, allocations: 283.8 kB / 1.224 GB, free: 13.23 MB / 0.9512 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.001361/1.068, allocations: 0.5368 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.068, allocations: 49.64 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.068, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/1.068, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/1.069, allocations: 470.2 kB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/1.069, allocations: 261.7 kB / 1.225 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/1.069, allocations: 0.6846 MB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/1.069, allocations: 7.438 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/1.069, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.008843/1.078, allocations: 4.741 MB / 1.231 GB, free: 6.426 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg1,Rgg2,time,x