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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001509/0.001515, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002016/0.002016, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.89 kB / 0.8688 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8059, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002498/0.8084, allocations: 1.489 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.8127, allocations: 2.865 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.8128, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.8129, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.813, allocations: 19.84 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.8169, allocations: 1.439 MB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.817, allocations: 39.75 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.8171, allocations: 19.95 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.8171, allocations: 11.94 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.573e-05/0.8172, allocations: 11.94 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.8172, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.8192, allocations: 1.423 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.8192, allocations: 4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.8193, allocations: 23.86 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.8206, allocations: 1.061 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8206, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8206, allocations: 3.938 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8206, allocations: 4 kB / 1.025 GB, free: 10.47 MB / 0.7794 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.0006319/0.8212, allocations: 0.5146 MB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8213, allocations: 8.031 kB / 1.026 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.8213, allocations: 84.12 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8215, allocations: 255.4 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/0.8216, allocations: 150.9 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.8216, allocations: 158.9 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.694e-05/0.8217, allocations: 105.1 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.8217, allocations: 79.27 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.8218, allocations: 150.6 kB / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.8219, allocations: 154.6 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.8219, allocations: 158.5 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.8222, allocations: 465.9 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.8223, allocations: 165.1 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.8223, allocations: 80.14 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.8224, allocations: 75.28 kB / 1.028 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.8224, allocations: 117.8 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.395e-06/0.8224, allocations: 0 / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.811e-05/0.8225, allocations: 41.48 kB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.8226, allocations: 126.7 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.8227, allocations: 127.4 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.8228, allocations: 25.7 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.8228, allocations: 96.12 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.8228, allocations: 4 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.8228, allocations: 13.72 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.823, allocations: 322.8 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.823, allocations: 0 / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.823, allocations: 12 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.8231, allocations: 12.86 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8231, allocations: 0 / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.8232, allocations: 57.47 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.8232, allocations: 6.344 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.8233, allocations: 8.062 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.8233, allocations: 0 / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.8233, allocations: 0 / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8233, allocations: 0 / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.8233, allocations: 0 / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.8233, allocations: 4 kB / 1.028 GB, free: 6.727 MB / 0.7794 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.0001006/0.8234, allocations: 181.1 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.8235, allocations: 112.8 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.8236, allocations: 120.8 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/0.8236, allocations: 184.2 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-05/0.8237, allocations: 180.2 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-05/0.8238, allocations: 176.3 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.824, allocations: 425.3 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.819e-05/0.824, allocations: 112.9 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.8241, allocations: 101 kB / 1.03 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-05/0.8242, allocations: 184.2 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.8242, allocations: 176.3 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.406e-05/0.8243, allocations: 180.2 kB / 1.031 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.686e-05/0.8244, allocations: 180.2 kB / 1.031 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.8245, allocations: 315.7 kB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.8246, allocations: 182 kB / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.8247, allocations: 184.2 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.8247, allocations: 112.9 kB / 1.031 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.8248, allocations: 180.3 kB / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.8249, allocations: 104.9 kB / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.8249, allocations: 95.27 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8249, allocations: 0 / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007017/0.8256, allocations: 279.8 kB / 1.032 GB, free: 2.816 MB / 0.7794 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.001053/0.8267, allocations: 0.5215 MB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.8268, allocations: 37.69 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8268, allocations: 0 / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.8268, allocations: 3.938 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.8272, allocations: 471.6 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.8276, allocations: 248.2 kB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.8278, allocations: 0.6846 MB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.282e-05/0.8279, allocations: 48 / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/0.8279, allocations: 7.438 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8279, allocations: 4 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of Templates: time 0.009336/0.8372, allocations: 5.477 MB / 1.039 GB, free: 11.35 MB / 0.795 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 -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/jenkins/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