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.0022/0.0022, allocations: 112.8 kB / 16.41 MB, free: 6.504 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.002143/0.002143, allocations: 183 kB / 17.34 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.785/2.785, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001745, allocations: 63.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231/1.233, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.004035/1.237, allocations: 1.437 MB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005957/1.243, allocations: 2.856 MB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/1.243, allocations: 0 / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.725e-05/1.243, allocations: 3.938 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/1.244, allocations: 23.84 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005694/1.249, allocations: 1.557 MB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/1.249, allocations: 47.67 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/1.25, allocations: 7.984 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/1.25, allocations: 11.92 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/1.25, allocations: 15.94 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/1.25, allocations: 4 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/1.253, allocations: 1.482 MB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/1.253, allocations: 11.94 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/1.253, allocations: 19.86 kB / 1.175 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/1.254, allocations: 1.088 MB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/1.254, allocations: 4 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/1.254, allocations: 0 / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.732e-06/1.254, allocations: 0 / 1.176 GB, free: 11.28 MB / 0.9044 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.000618/1.255, allocations: 0.5246 MB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.255, allocations: 12.92 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/1.255, allocations: 80.17 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/1.255, allocations: 251.6 kB / 1.177 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/1.255, allocations: 154.9 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/1.255, allocations: 154.9 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/1.255, allocations: 105.1 kB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.798e-05/1.256, allocations: 75.28 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/1.256, allocations: 154.6 kB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/1.256, allocations: 154.6 kB / 1.177 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/1.256, allocations: 150.6 kB / 1.177 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/1.256, allocations: 469.8 kB / 1.178 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/1.256, allocations: 165.1 kB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/1.256, allocations: 88.14 kB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/1.256, allocations: 75.28 kB / 1.178 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/1.256, allocations: 109.8 kB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.256, allocations: 0 / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.847e-05/1.256, allocations: 37.59 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/1.257, allocations: 126.7 kB / 1.179 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/1.257, allocations: 140.3 kB / 1.179 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.257, allocations: 25.7 kB / 1.179 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/1.257, allocations: 92.12 kB / 1.179 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/1.257, allocations: 4 kB / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/1.257, allocations: 13.72 kB / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.257, allocations: 322.8 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/1.257, allocations: 4 kB / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/1.257, allocations: 8.031 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/1.257, allocations: 20.83 kB / 1.179 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.257, allocations: 0 / 1.179 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/1.257, allocations: 53.52 kB / 1.179 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.257, allocations: 8 kB / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/1.257, allocations: 4 kB / 1.179 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.257, allocations: 4 kB / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/1.257, allocations: 0 / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.257, allocations: 0 / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/1.257, allocations: 0 / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/1.257, allocations: 0 / 1.179 GB, free: 7.523 MB / 0.9044 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.0001096/1.257, allocations: 189.2 kB / 1.179 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/1.258, allocations: 116.9 kB / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/1.258, allocations: 112.8 kB / 1.18 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/1.258, allocations: 184.3 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.049e-05/1.258, allocations: 184.2 kB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.185e-05/1.258, allocations: 184.2 kB / 1.18 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/1.258, allocations: 405.3 kB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.105e-05/1.258, allocations: 116.8 kB / 1.181 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/1.258, allocations: 101 kB / 1.181 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/1.258, allocations: 184.2 kB / 1.181 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/1.258, allocations: 180.2 kB / 1.181 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.141e-05/1.258, allocations: 184.3 kB / 1.181 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/1.258, allocations: 180.2 kB / 1.181 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/1.259, allocations: 307.7 kB / 1.182 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/1.259, allocations: 190 kB / 1.182 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/1.259, allocations: 180.3 kB / 1.182 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/1.259, allocations: 104.9 kB / 1.182 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/1.259, allocations: 176.3 kB / 1.182 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/1.259, allocations: 120.9 kB / 1.182 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.885e-05/1.259, allocations: 101 kB / 1.183 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.259, allocations: 0 / 1.183 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007072/1.26, allocations: 287 kB / 1.183 GB, free: 3.586 MB / 0.9044 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.001049/1.261, allocations: 0.5142 MB / 1.183 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001105/1.261, allocations: 41.69 kB / 1.183 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.261, allocations: 0 / 1.183 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/1.261, allocations: 4 kB / 1.183 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/1.261, allocations: 475.6 kB / 1.184 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/1.262, allocations: 257.7 kB / 1.184 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/1.262, allocations: 0.6807 MB / 1.185 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/1.262, allocations: 15.38 kB / 1.185 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/1.262, allocations: 4 kB / 1.185 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of Templates: time 0.007515/1.27, allocations: 4.628 MB / 1.189 GB, free: 12.91 MB / 0.92 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/jenkins1/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,Rgb,Rgg,time,x