Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.00161/0.00161, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001535/0.001535, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 69.23 kB / 0.8707 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3363, allocations: 151.6 MB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003121/0.3394, allocations: 1.438 MB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004725/0.3442, allocations: 2.858 MB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.3443, allocations: 4 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.3444, allocations: 7.922 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.3445, allocations: 15.86 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004798/0.3493, allocations: 1.563 MB / 1.025 GB, free: 3.848 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3494, allocations: 39.73 kB / 1.025 GB, free: 3.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.3495, allocations: 7.938 kB / 1.025 GB, free: 3.801 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.3495, allocations: 15.94 kB / 1.025 GB, free: 3.785 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.3495, allocations: 15.86 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3496, allocations: 4 kB / 1.025 GB, free: 3.766 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.3522, allocations: 1.486 MB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.3523, allocations: 7.984 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.3523, allocations: 15.88 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.3546, allocations: 1.08 MB / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3546, allocations: 0 / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3546, allocations: 0 / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3546, allocations: 0 / 1.027 GB, free: 1.172 MB / 0.795 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.000861/0.3555, allocations: 0.5069 MB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3555, allocations: 16.62 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.3556, allocations: 84.11 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3558, allocations: 247.5 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.3559, allocations: 162.9 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.356, allocations: 150.9 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.093e-05/0.356, allocations: 105.1 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.3561, allocations: 83.22 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.3562, allocations: 150.6 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/0.3562, allocations: 150.6 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.3563, allocations: 150.6 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.3567, allocations: 461.9 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3568, allocations: 177.2 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.3568, allocations: 92.02 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3568, allocations: 79.28 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/0.3569, allocations: 117.8 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3569, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.926e-05/0.357, allocations: 33.61 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.3571, allocations: 130.7 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3572, allocations: 125.8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3573, allocations: 25.7 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.3573, allocations: 92.14 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3573, allocations: 0 / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.3574, allocations: 17.7 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3575, allocations: 314.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.3575, allocations: 11.94 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.3575, allocations: 8 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.3576, allocations: 12.84 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3576, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001292/0.3577, allocations: 53.55 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3578, allocations: 6.656 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.3578, allocations: 4 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3578, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-06/0.3578, allocations: 7.984 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3578, allocations: 3.984 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.3579, allocations: 8 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3579, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 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.0001113/0.358, allocations: 191.5 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.3581, allocations: 112.8 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.3581, allocations: 108.9 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.073e-05/0.3582, allocations: 184.2 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-05/0.3583, allocations: 184.3 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-05/0.3584, allocations: 180.2 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3586, allocations: 413.2 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/0.3587, allocations: 104.9 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.3587, allocations: 108.9 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-05/0.3588, allocations: 184.2 kB / 1.032 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/0.3588, allocations: 180.2 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.273e-05/0.3589, allocations: 180.3 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.884e-05/0.359, allocations: 184.2 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3591, allocations: 311.7 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.3592, allocations: 194 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.3593, allocations: 180.3 kB / 1.033 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.3594, allocations: 105 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.3595, allocations: 184.2 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.3596, allocations: 101 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.711e-05/0.3596, allocations: 99.17 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3596, allocations: 4 kB / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008893/0.3605, allocations: 279.8 kB / 1.034 GB, free: 9.5 MB / 0.8106 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.001004/0.3615, allocations: 0.5229 MB / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.3617, allocations: 37.64 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3617, allocations: 0 / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.3617, allocations: 4.062 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3621, allocations: 467.6 kB / 1.035 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.3624, allocations: 228.1 kB / 1.035 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3627, allocations: 0.6846 MB / 1.036 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.299e-05/0.3627, allocations: 0 / 1.036 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.3627, allocations: 11.44 kB / 1.036 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3627, allocations: 0 / 1.036 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of Templates: time 0.009581/0.3723, allocations: 5.476 MB / 1.041 GB, free: 2.062 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x