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.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.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.001183/0.001183, allocations: 86.95 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.001485/0.001485, 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.402 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.844/2.844, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005314, allocations: 12 kB / 0.8723 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9362/0.9368, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001651/0.9385, allocations: 1.14 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004111/0.9426, allocations: 2.626 MB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.9427, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.9427, allocations: 3.938 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.9428, allocations: 15.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.946, allocations: 1.242 MB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.9461, allocations: 31.75 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.9461, allocations: 15.98 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.82e-05/0.9462, allocations: 15.92 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.869e-05/0.9462, allocations: 11.94 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.9462, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.9481, allocations: 1.213 MB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.9482, allocations: 0 / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.9482, allocations: 33.64 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.9492, allocations: 0.6999 MB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.9492, allocations: 4 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9492, allocations: 4 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.9493, allocations: 0 / 1.029 GB, free: 8.973 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.0005806/0.9498, allocations: 0.5067 MB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9499, allocations: 8.031 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.95, allocations: 79.28 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.9501, allocations: 246.2 kB / 1.03 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.9503, allocations: 150.6 kB / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.9504, allocations: 158.5 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.017e-05/0.9505, allocations: 108.9 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.9505, allocations: 79.28 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.9506, allocations: 150.6 kB / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.9507, allocations: 150.6 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.9508, allocations: 150.6 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.9511, allocations: 473.9 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.9512, allocations: 169.1 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.9513, allocations: 84.08 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.9513, allocations: 79.23 kB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.9514, allocations: 113.8 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.9514, allocations: 0 / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.491e-05/0.9515, allocations: 33.59 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.9515, allocations: 134.7 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.9517, allocations: 127.6 kB / 1.032 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.9517, allocations: 33.58 kB / 1.032 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.9518, allocations: 92.12 kB / 1.032 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.9518, allocations: 4 kB / 1.032 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.9518, allocations: 0 / 1.032 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9519, allocations: 318.8 kB / 1.033 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.9519, allocations: 8 kB / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.952, allocations: 0 / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.952, allocations: 4 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.952, allocations: 0 / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/0.9521, allocations: 53.64 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.9521, allocations: 7.953 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.9522, allocations: 12.05 kB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9522, allocations: 0 / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.9522, allocations: 0 / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9522, allocations: 0 / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.9522, allocations: 0 / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.9522, allocations: 4 kB / 1.033 GB, free: 5.27 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.0001201/0.9524, allocations: 189 kB / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.9524, allocations: 108.9 kB / 1.033 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.643e-05/0.9525, allocations: 124.8 kB / 1.033 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.407e-05/0.9526, allocations: 180.2 kB / 1.033 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.057e-05/0.9527, allocations: 180.3 kB / 1.033 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-05/0.9528, allocations: 180.2 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.9531, allocations: 417.2 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/0.9531, allocations: 105 kB / 1.034 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.9532, allocations: 104.9 kB / 1.034 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-05/0.9533, allocations: 176.3 kB / 1.034 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.9533, allocations: 184.2 kB / 1.035 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001236/0.9535, allocations: 184.2 kB / 1.035 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001104/0.9536, allocations: 180.3 kB / 1.035 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.9537, allocations: 307.7 kB / 1.035 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.9538, allocations: 190 kB / 1.035 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.9539, allocations: 180.3 kB / 1.036 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.954, allocations: 101 kB / 1.036 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.9541, allocations: 196.2 kB / 1.036 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.9541, allocations: 105.2 kB / 1.036 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.9542, allocations: 104.4 kB / 1.036 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9542, allocations: 0 / 1.036 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007568/0.955, allocations: 275.8 kB / 1.036 GB, free: 1.355 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.0009302/0.9559, allocations: 498.1 kB / 1.037 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.956, allocations: 41.64 kB / 1.037 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.956, allocations: 4.062 kB / 1.037 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.956, allocations: 4 kB / 1.037 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.9565, allocations: 0.5263 MB / 1.037 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.9568, allocations: 255.7 kB / 1.038 GB, free: 15.99 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.9571, allocations: 0.6848 MB / 1.038 GB, free: 15.28 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.371e-05/0.9571, allocations: 0 / 1.038 GB, free: 15.28 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.9571, allocations: 11.44 kB / 1.038 GB, free: 15.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.9571, allocations: 0 / 1.038 GB, free: 15.27 MB / 0.795 GB Notification: Performance of Templates: time 0.009454/0.9666, allocations: 5.428 MB / 1.044 GB, free: 9.887 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