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.001437/0.001437, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001439/0.001439, allocations: 193.5 kB / 16.14 MB, free: 6.629 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.8 MB, free: 4.59 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.833/2.833, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.86 kB / 0.8686 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7173, 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.002829/0.7202, allocations: 1.502 MB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.725, allocations: 2.978 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.7251, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.7251, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.7252, allocations: 11.86 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.7288, allocations: 1.384 MB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.7289, allocations: 39.73 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.7289, allocations: 7.984 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.7289, allocations: 11.94 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.859e-05/0.729, allocations: 15.92 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.729, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.7312, allocations: 1.423 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.7312, allocations: 15.92 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.7313, allocations: 15.88 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.7328, allocations: 1.094 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7329, allocations: 4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7329, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.7329, allocations: 0 / 1.025 GB, free: 10.38 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.0006804/0.7336, allocations: 0.5146 MB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.7336, allocations: 12.03 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.7337, allocations: 84.12 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.7339, allocations: 247.6 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.734, allocations: 150.9 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/0.7341, allocations: 154.9 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.715e-05/0.7342, allocations: 117 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.7342, allocations: 79.28 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.7343, allocations: 150.6 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/0.7343, allocations: 154.5 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.7344, allocations: 154.5 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.7348, allocations: 465.9 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7349, allocations: 173.1 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.7349, allocations: 80.14 kB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.735, allocations: 75.28 kB / 1.028 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.7351, allocations: 117.8 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.7351, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.824e-05/0.7351, allocations: 33.61 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.7352, allocations: 134.6 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.7354, allocations: 131.6 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.7354, allocations: 25.7 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.7355, allocations: 92.12 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.7355, allocations: 0 / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.7356, allocations: 17.72 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.7357, allocations: 322.8 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.7357, allocations: 4 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.7358, allocations: 4 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.7358, allocations: 12.86 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7358, allocations: 0 / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.736, allocations: 53.53 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.736, allocations: 11.94 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.736, allocations: 0 / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.736, allocations: 0 / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.736, allocations: 0 / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.736, allocations: 8.062 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.7361, allocations: 0 / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.7361, allocations: 0 / 1.028 GB, free: 6.629 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.0001178/0.7362, allocations: 185.7 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.7363, allocations: 108.8 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.7364, allocations: 120.8 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-05/0.7364, allocations: 176.3 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.432e-05/0.7365, allocations: 180.3 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.393e-05/0.7366, allocations: 188.2 kB / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.7369, allocations: 413.2 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-05/0.737, allocations: 108.9 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.737, allocations: 105 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.614e-05/0.7371, allocations: 180.3 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/0.7372, allocations: 184.2 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.611e-05/0.7373, allocations: 180.2 kB / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-05/0.7374, allocations: 184.4 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.7376, allocations: 311.8 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.7377, allocations: 190 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.7378, allocations: 184.2 kB / 1.031 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.7379, allocations: 108.9 kB / 1.031 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.738, allocations: 176.3 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.738, allocations: 104.9 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.7381, allocations: 108.3 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7381, allocations: 0 / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007874/0.7389, allocations: 283.8 kB / 1.032 GB, free: 2.707 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.001149/0.7401, allocations: 0.5098 MB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.7402, allocations: 37.69 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7402, allocations: 4 kB / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.7402, allocations: 4.062 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.7407, allocations: 0.5404 MB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.741, allocations: 239.4 kB / 1.033 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7414, allocations: 0.6848 MB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.647e-05/0.7414, allocations: 4.031 kB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.7414, allocations: 11.44 kB / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7414, allocations: 0 / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of Templates: time 0.01064/0.7521, allocations: 5.475 MB / 1.039 GB, free: 11.17 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=400 -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