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.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 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_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.006316/0.006316, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001585/0.001585, allocations: 200.7 kB / 16.68 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 72.11 kB / 1.054 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.726, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002318/0.7283, allocations: 1.426 MB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003991/0.7323, allocations: 2.863 MB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.7324, allocations: 3.938 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.7325, allocations: 3.984 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.7325, allocations: 15.86 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.7362, allocations: 1.554 MB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.88e-05/0.7363, allocations: 43.67 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.7363, allocations: 11.8 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.7364, allocations: 7.938 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.873e-05/0.7364, allocations: 19.92 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.7364, allocations: 4 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.7384, allocations: 1.482 MB / 1.215 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.7385, allocations: 7.938 kB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.7385, allocations: 15.88 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.7398, allocations: 1.078 MB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7398, allocations: 0 / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7398, allocations: 4 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.7398, allocations: 0 / 1.216 GB, free: 5.059 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.0005575/0.7404, allocations: 0.5199 MB / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7405, allocations: 12.03 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.7405, allocations: 76.22 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7407, allocations: 253.7 kB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.7407, allocations: 150.9 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.7408, allocations: 158.9 kB / 1.217 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.254e-05/0.7408, allocations: 109 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.7409, allocations: 75.28 kB / 1.217 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.7409, allocations: 150.6 kB / 1.218 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.741, allocations: 158.5 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.741, allocations: 154.6 kB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.7413, allocations: 469.8 kB / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/0.7414, allocations: 169.1 kB / 1.218 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.7414, allocations: 84.14 kB / 1.219 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.7415, allocations: 75.28 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.7415, allocations: 117.7 kB / 1.219 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.7415, allocations: 0 / 1.219 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.317e-05/0.7416, allocations: 29.7 kB / 1.219 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.7417, allocations: 126.7 kB / 1.219 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.7418, allocations: 133.7 kB / 1.219 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.7418, allocations: 25.7 kB / 1.219 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.7419, allocations: 100.1 kB / 1.219 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-06/0.7419, allocations: 4 kB / 1.219 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.7419, allocations: 17.66 kB / 1.219 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.742, allocations: 314.8 kB / 1.219 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.7421, allocations: 7.984 kB / 1.219 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.7421, allocations: 4 kB / 1.219 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.7421, allocations: 12.86 kB / 1.22 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7421, allocations: 0 / 1.22 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.7423, allocations: 49.67 kB / 1.22 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.7423, allocations: 14.08 kB / 1.22 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.7423, allocations: 0 / 1.22 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7423, allocations: 4 kB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.7424, allocations: 0 / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7424, allocations: 0 / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.7424, allocations: 11.84 kB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.7424, allocations: 0 / 1.22 GB, free: 1.305 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.282e-05/0.7425, allocations: 185.1 kB / 1.22 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.7426, allocations: 113 kB / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.7426, allocations: 112.8 kB / 1.22 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.905e-05/0.7427, allocations: 184.2 kB / 1.22 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-05/0.7427, allocations: 184.3 kB / 1.22 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/0.7428, allocations: 180.2 kB / 1.22 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.743, allocations: 409.2 kB / 1.221 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/0.7431, allocations: 112.9 kB / 1.221 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.7431, allocations: 104.9 kB / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/0.7431, allocations: 180.3 kB / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/0.7432, allocations: 180.2 kB / 1.221 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.057e-05/0.7433, allocations: 180.3 kB / 1.222 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-05/0.7433, allocations: 184.2 kB / 1.222 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.7434, allocations: 307.7 kB / 1.222 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.7435, allocations: 193.9 kB / 1.222 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.7436, allocations: 180.2 kB / 1.222 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.7437, allocations: 101 kB / 1.223 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.7437, allocations: 184.2 kB / 1.223 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.7438, allocations: 117 kB / 1.223 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.7438, allocations: 95.27 kB / 1.223 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7438, allocations: 7.875 kB / 1.223 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006781/0.7445, allocations: 279.8 kB / 1.223 GB, free: 13.38 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.0009297/0.7454, allocations: 0.5098 MB / 1.224 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.826e-05/0.7455, allocations: 41.64 kB / 1.224 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7456, allocations: 0 / 1.224 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-06/0.7456, allocations: 4 kB / 1.224 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.7459, allocations: 467.6 kB / 1.224 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.7463, allocations: 244 kB / 1.224 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.7465, allocations: 0.6846 MB / 1.225 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.154e-05/0.7465, allocations: 3.938 kB / 1.225 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-06/0.7465, allocations: 7.438 kB / 1.225 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.7465, allocations: 4 kB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of Templates: time 0.008755/0.7553, allocations: 5.46 MB / 1.23 GB, free: 5.961 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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