Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00127/0.00127, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001336/0.001336, allocations: 183.9 kB / 17.35 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002867/1.093, allocations: 1.423 MB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004706/1.098, allocations: 2.838 MB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/1.098, allocations: 4 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/1.098, allocations: 5.203 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/1.098, allocations: 16.38 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004908/1.103, allocations: 1.569 MB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/1.103, allocations: 35.72 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/1.103, allocations: 11.62 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/1.103, allocations: 12.8 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/1.103, allocations: 17.02 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/1.103, allocations: 1.094 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/1.106, allocations: 1.495 MB / 1.096 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/1.106, allocations: 3.141 kB / 1.096 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/1.107, allocations: 15.56 kB / 1.096 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/1.109, allocations: 1.077 MB / 1.097 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.109, allocations: 0 / 1.097 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/1.109, allocations: 0.6875 kB / 1.097 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.109, allocations: 0 / 1.097 GB, free: 0.957 MB / 0.8575 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.0006733/1.109, allocations: 0.5131 MB / 1.098 GB, free: 484 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.11, allocations: 12.56 kB / 1.098 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/1.11, allocations: 83.95 kB / 1.098 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.11, allocations: 248.9 kB / 1.098 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/1.11, allocations: 155.7 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/1.11, allocations: 152.7 kB / 1.098 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.421e-05/1.11, allocations: 105.8 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/1.11, allocations: 79.28 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/1.11, allocations: 151.8 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/1.11, allocations: 150.6 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.179e-05/1.11, allocations: 156.6 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/1.11, allocations: 460.2 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/1.111, allocations: 170.6 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/1.111, allocations: 80.98 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/1.111, allocations: 80.56 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/1.111, allocations: 113.7 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.111, allocations: 0.875 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.807e-05/1.111, allocations: 36.97 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/1.111, allocations: 52.25 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.111, allocations: 126.2 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.111, allocations: 26.86 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/1.111, allocations: 94.88 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/1.111, allocations: 0.9062 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/1.111, allocations: 15.69 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.111, allocations: 319 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/1.111, allocations: 6.25 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/1.111, allocations: 8.109 kB / 1.1 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/1.111, allocations: 14.78 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.111, allocations: 0.6094 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001592/1.111, allocations: 53.23 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.112, allocations: 6.094 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/1.112, allocations: 2.234 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.112, allocations: 0.875 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-06/1.112, allocations: 1.25 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.112, allocations: 4.719 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/1.112, allocations: 9.094 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/1.112, allocations: 4.969 kB / 1.1 GB, free: 13.49 MB / 0.8731 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 9.782e-05/1.112, allocations: 182.8 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/1.112, allocations: 117.4 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/1.112, allocations: 112.7 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.498e-05/1.112, allocations: 178.1 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/1.112, allocations: 113.5 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/1.112, allocations: 185.5 kB / 1.101 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/1.112, allocations: 187.1 kB / 1.101 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/1.112, allocations: 101.5 kB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/1.112, allocations: 182 kB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.759e-05/1.112, allocations: 265.2 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001937/1.113, allocations: 386.5 kB / 1.102 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.412e-05/1.113, allocations: 102.7 kB / 1.102 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.46e-05/1.113, allocations: 99.69 kB / 1.102 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of Backend: time 3.51e-07/1.113, allocations: 0 / 1.102 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001958/1.115, allocations: 0.5013 MB / 1.103 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007463/1.116, allocations: 0.9106 MB / 1.104 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.01464/1.13, allocations: 6.21 MB / 1.11 GB, free: 9.684 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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