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.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 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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_10_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.001156/0.001156, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001487/0.001487, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.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.897/2.897, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 11.94 kB / 0.8723 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8399, allocations: 153.8 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001785/0.8417, allocations: 1.148 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004321/0.8461, allocations: 2.673 MB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.8461, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.8462, allocations: 7.984 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.8463, allocations: 15.86 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.8503, allocations: 1.255 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.8504, allocations: 39.69 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.394e-05/0.8504, allocations: 15.97 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.8505, allocations: 11.94 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.8505, allocations: 15.88 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.8505, allocations: 0 / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.8529, allocations: 1.248 MB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.853, allocations: 3.984 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.992e-05/0.853, allocations: 41.62 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.8543, allocations: 0.7077 MB / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8543, allocations: 0 / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.839e-06/0.8543, allocations: 8 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.8543, allocations: 3.938 kB / 1.029 GB, free: 8.789 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.0007958/0.8551, allocations: 0.5067 MB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.8552, allocations: 12.03 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.8552, allocations: 75.28 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.8554, allocations: 254.2 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.8555, allocations: 162.5 kB / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.8556, allocations: 158.5 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.036e-05/0.8557, allocations: 105 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.8557, allocations: 79.22 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.8558, allocations: 150.6 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/0.8559, allocations: 150.6 kB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.8559, allocations: 150.6 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.8563, allocations: 465.9 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.8564, allocations: 177 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.8565, allocations: 84.19 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.8565, allocations: 79.28 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.8566, allocations: 109.8 kB / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.8566, allocations: 0 / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.8567, allocations: 37.55 kB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.8568, allocations: 126.7 kB / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.8569, allocations: 135.9 kB / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.8569, allocations: 25.7 kB / 1.032 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.857, allocations: 88.14 kB / 1.032 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.857, allocations: 4 kB / 1.032 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.857, allocations: 0 / 1.032 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8572, allocations: 322.8 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.8572, allocations: 0 / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.8572, allocations: 8 kB / 1.033 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.8572, allocations: 4 kB / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.8572, allocations: 0 / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001471/0.8574, allocations: 53.56 kB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8574, allocations: 4 kB / 1.033 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.8575, allocations: 12.05 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.8575, allocations: 3.938 kB / 1.033 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.8575, allocations: 0 / 1.033 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8575, allocations: 4 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.8575, allocations: 3.938 kB / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.8575, allocations: 0 / 1.033 GB, free: 5.074 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.8577, allocations: 193.1 kB / 1.033 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.8577, allocations: 112.8 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.8578, allocations: 120.8 kB / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-05/0.8579, allocations: 176.3 kB / 1.033 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.249e-05/0.8579, allocations: 180.3 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.851e-05/0.858, allocations: 184.2 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.8583, allocations: 409.2 kB / 1.034 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.914e-05/0.8583, allocations: 117 kB / 1.034 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.8584, allocations: 105 kB / 1.034 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.676e-05/0.8584, allocations: 180.3 kB / 1.035 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.165e-05/0.8585, allocations: 184.2 kB / 1.035 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.638e-05/0.8586, allocations: 176.3 kB / 1.035 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-05/0.8587, allocations: 188.2 kB / 1.035 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.8588, allocations: 311.7 kB / 1.035 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.8589, allocations: 189.9 kB / 1.036 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.859, allocations: 180.2 kB / 1.036 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.8591, allocations: 108.9 kB / 1.036 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.8591, allocations: 180.3 kB / 1.036 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.8592, allocations: 109 kB / 1.036 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.105e-05/0.8593, allocations: 96.36 kB / 1.036 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.553e-06/0.8593, allocations: 0 / 1.036 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008161/0.8601, allocations: 279.8 kB / 1.036 GB, free: 1.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.8613, allocations: 0.4984 MB / 1.037 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.8614, allocations: 37.7 kB / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8614, allocations: 4.062 kB / 1.037 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.8614, allocations: 0 / 1.037 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.8619, allocations: 0.5302 MB / 1.038 GB, free: 64 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.8622, allocations: 255.9 kB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.8625, allocations: 0.6848 MB / 1.038 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.814e-05/0.8625, allocations: 3.984 kB / 1.038 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.8625, allocations: 11.44 kB / 1.038 GB, free: 15.06 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.8625, allocations: 0 / 1.038 GB, free: 15.06 MB / 0.795 GB Notification: Performance of Templates: time 0.01066/0.8732, allocations: 5.617 MB / 1.044 GB, free: 9.488 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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