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.006678/0.006683, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001595/0.001595, allocations: 193.3 kB / 16.67 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 1.054 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7013, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002303/0.7036, allocations: 1.447 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004524/0.7081, allocations: 2.891 MB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.7082, allocations: 4 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.7082, allocations: 3.938 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.7083, allocations: 15.86 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.712, allocations: 1.579 MB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.7121, allocations: 43.67 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.7121, allocations: 4 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.7122, allocations: 11.94 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.869e-05/0.7122, allocations: 23.86 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.7122, allocations: 0 / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.7144, allocations: 1.54 MB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.7144, allocations: 4 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.7144, allocations: 19.88 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.7159, allocations: 1.113 MB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7159, allocations: 3.938 kB / 1.216 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7159, allocations: 0 / 1.216 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.7159, allocations: 0 / 1.216 GB, free: 4.875 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.0006023/0.7166, allocations: 0.5146 MB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7166, allocations: 12.02 kB / 1.217 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.7167, allocations: 84.22 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.7168, allocations: 247.5 kB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.7169, allocations: 150.9 kB / 1.217 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.7169, allocations: 154.9 kB / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.283e-05/0.717, allocations: 109.1 kB / 1.218 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.717, allocations: 75.28 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.717, allocations: 154.6 kB / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.7171, allocations: 154.5 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.7171, allocations: 150.6 kB / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.7174, allocations: 469.8 kB / 1.218 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.843e-05/0.7175, allocations: 173.1 kB / 1.219 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.7175, allocations: 80.14 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.7175, allocations: 79.22 kB / 1.219 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.7176, allocations: 113.8 kB / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7176, allocations: 4 kB / 1.219 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.901e-05/0.7177, allocations: 25.7 kB / 1.219 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.7177, allocations: 126.7 kB / 1.219 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.7179, allocations: 139.1 kB / 1.219 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.7179, allocations: 25.7 kB / 1.219 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.7179, allocations: 92.14 kB / 1.219 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.7179, allocations: 8 kB / 1.219 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.718, allocations: 17.72 kB / 1.219 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.7181, allocations: 318.8 kB / 1.22 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.7181, allocations: 4 kB / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.7181, allocations: 11.94 kB / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/0.7182, allocations: 12.92 kB / 1.22 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7182, allocations: 4 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001174/0.7183, allocations: 49.55 kB / 1.22 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.7183, allocations: 11.98 kB / 1.22 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.7184, allocations: 0 / 1.22 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7184, allocations: 8.062 kB / 1.22 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.7184, allocations: 0 / 1.22 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.7184, allocations: 0 / 1.22 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.7184, allocations: 7.875 kB / 1.22 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.7184, allocations: 0 / 1.22 GB, free: 1.117 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 8.705e-05/0.7185, allocations: 189.1 kB / 1.22 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.7186, allocations: 112.8 kB / 1.22 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.7187, allocations: 120.9 kB / 1.22 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.7187, allocations: 184.2 kB / 1.22 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/0.7188, allocations: 184.2 kB / 1.22 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.382e-05/0.7188, allocations: 180.3 kB / 1.221 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.7191, allocations: 413.1 kB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/0.7191, allocations: 108.9 kB / 1.221 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.7191, allocations: 108.9 kB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-05/0.7192, allocations: 180.3 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.7193, allocations: 176.3 kB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.417e-05/0.7193, allocations: 184.2 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.419e-05/0.7194, allocations: 180.2 kB / 1.222 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.7195, allocations: 307.8 kB / 1.222 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.7196, allocations: 189.9 kB / 1.222 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.7196, allocations: 184.2 kB / 1.223 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.7197, allocations: 105 kB / 1.223 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.7198, allocations: 188.2 kB / 1.223 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.7198, allocations: 109 kB / 1.223 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.7199, allocations: 96.98 kB / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7199, allocations: 0 / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007151/0.7206, allocations: 283.8 kB / 1.223 GB, free: 13.19 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.0011/0.7217, allocations: 0.537 MB / 1.224 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.7218, allocations: 45.64 kB / 1.224 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7219, allocations: 0 / 1.224 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.7219, allocations: 0 / 1.224 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.7222, allocations: 467.6 kB / 1.224 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.7226, allocations: 244 kB / 1.225 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.7228, allocations: 0.6807 MB / 1.225 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.7228, allocations: 0 / 1.225 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.7228, allocations: 11.44 kB / 1.225 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.7229, allocations: 0 / 1.225 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.009286/0.7321, allocations: 5.639 MB / 1.231 GB, free: 5.566 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/jenkins/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,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x