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.0008654/0.0008654, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006466/0.006466, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.953/2.953, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 12 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.791, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001902/0.7929, allocations: 1.156 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004882/0.7978, allocations: 2.909 MB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.7979, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.7979, allocations: 3.984 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.798, allocations: 15.86 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.8019, allocations: 1.361 MB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.802, allocations: 39.67 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.8021, allocations: 7.984 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.8021, allocations: 15.92 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.8022, allocations: 15.92 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.8022, allocations: 4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.8046, allocations: 1.423 MB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.8046, allocations: 7.938 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.8047, allocations: 45.58 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.8066, allocations: 1.094 MB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.8066, allocations: 3.938 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8066, allocations: 0 / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.8066, allocations: 0 / 1.031 GB, free: 7.668 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.000831/0.8074, allocations: 0.5146 MB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8075, allocations: 8.031 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.8076, allocations: 80.22 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.8078, allocations: 265.5 kB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.8078, allocations: 150.9 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.8079, allocations: 150.9 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.45e-05/0.808, allocations: 109.1 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.808, allocations: 75.28 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.8081, allocations: 158.5 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.8082, allocations: 154.6 kB / 1.033 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.8082, allocations: 154.5 kB / 1.033 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.8086, allocations: 469.8 kB / 1.033 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.8087, allocations: 165.1 kB / 1.033 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.8087, allocations: 84.14 kB / 1.033 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.8087, allocations: 75.28 kB / 1.033 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.8088, allocations: 109.8 kB / 1.034 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.8088, allocations: 0 / 1.034 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.721e-05/0.8089, allocations: 37.64 kB / 1.034 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.809, allocations: 130.6 kB / 1.034 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.8091, allocations: 133.7 kB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.8091, allocations: 25.7 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.8092, allocations: 96.12 kB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.8092, allocations: 0 / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.8093, allocations: 13.72 kB / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8094, allocations: 318.8 kB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.8094, allocations: 4 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.8095, allocations: 4 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.8095, allocations: 16.89 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8095, allocations: 0 / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.8097, allocations: 53.56 kB / 1.034 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.8097, allocations: 9.406 kB / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.8097, allocations: 0 / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8097, allocations: 0 / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.8097, allocations: 0 / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8097, allocations: 4 kB / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.8098, allocations: 3.906 kB / 1.034 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.8098, allocations: 0 / 1.034 GB, free: 3.926 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.0001104/0.8099, allocations: 189.2 kB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.81, allocations: 104.9 kB / 1.035 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.81, allocations: 120.7 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/0.8101, allocations: 180.3 kB / 1.035 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-05/0.8102, allocations: 180.2 kB / 1.035 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.964e-05/0.8102, allocations: 184.3 kB / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.8105, allocations: 413.3 kB / 1.036 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/0.8105, allocations: 112.9 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.8106, allocations: 109 kB / 1.036 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.052e-05/0.8107, allocations: 184.2 kB / 1.036 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/0.8107, allocations: 176.3 kB / 1.036 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.566e-05/0.8108, allocations: 188.2 kB / 1.036 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.66e-05/0.8109, allocations: 180.3 kB / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.8111, allocations: 307.7 kB / 1.037 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.8112, allocations: 189.9 kB / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.8113, allocations: 188.2 kB / 1.037 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.8113, allocations: 101 kB / 1.037 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.8114, allocations: 180.2 kB / 1.038 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.8115, allocations: 108.9 kB / 1.038 GB, free: 388 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.932e-05/0.8116, allocations: 105.8 kB / 1.038 GB, free: 284 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8116, allocations: 0 / 1.038 GB, free: 284 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001053/0.8127, allocations: 279.8 kB / 1.038 GB, free: 4 kB / 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.001484/0.8142, allocations: 0.5157 MB / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.8143, allocations: 37.69 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.8143, allocations: 0 / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.8143, allocations: 0 / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.8148, allocations: 0.5386 MB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.8151, allocations: 256 kB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.8154, allocations: 0.6848 MB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.8154, allocations: 4.031 kB / 1.04 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.8154, allocations: 11.44 kB / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.8154, allocations: 0 / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of Templates: time 0.01148/0.8269, allocations: 5.463 MB / 1.045 GB, free: 8.477 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) Reference file matches