Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001395/0.001395, allocations: 105 kB / 15.98 MB, free: 6.352 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.001325/0.001325, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 64.88 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3393, allocations: 159.2 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002746/0.3421, allocations: 1.495 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004478/0.3466, allocations: 2.856 MB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.3467, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.3468, allocations: 3.984 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.3468, allocations: 15.86 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.3507, allocations: 1.428 MB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.3508, allocations: 39.73 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.3508, allocations: 7.938 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.3509, allocations: 11.94 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.3509, allocations: 31.84 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.3509, allocations: 0 / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.353, allocations: 1.42 MB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.353, allocations: 3.984 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.3531, allocations: 19.88 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009994/0.3541, allocations: 0.7448 MB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3541, allocations: 0 / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3541, allocations: 4 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3541, allocations: 0 / 1.072 GB, free: 6.984 MB / 0.8419 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.00063/0.3547, allocations: 0.5108 MB / 1.073 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3548, allocations: 11.97 kB / 1.073 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.3548, allocations: 84.12 kB / 1.073 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.355, allocations: 249.7 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.3551, allocations: 158.9 kB / 1.073 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.3552, allocations: 154.9 kB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.03e-05/0.3553, allocations: 109.1 kB / 1.073 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.3553, allocations: 79.28 kB / 1.073 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.3554, allocations: 150.6 kB / 1.074 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/0.3555, allocations: 150.6 kB / 1.074 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.3555, allocations: 154.5 kB / 1.074 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.3559, allocations: 465.9 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/0.356, allocations: 165.1 kB / 1.074 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.356, allocations: 80.14 kB / 1.075 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.3561, allocations: 75.33 kB / 1.075 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.531e-05/0.3561, allocations: 125.8 kB / 1.075 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 6.883e-06/0.3562, allocations: 7.984 kB / 1.075 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.188e-05/0.3562, allocations: 33.55 kB / 1.075 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.3563, allocations: 126.7 kB / 1.075 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3565, allocations: 129.8 kB / 1.075 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3565, allocations: 25.7 kB / 1.075 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.3566, allocations: 96.03 kB / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.3566, allocations: 0 / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.3566, allocations: 13.72 kB / 1.075 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3568, allocations: 326.8 kB / 1.075 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.3568, allocations: 7.938 kB / 1.075 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.3568, allocations: 4 kB / 1.075 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.3569, allocations: 16.8 kB / 1.075 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3569, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.357, allocations: 49.62 kB / 1.075 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.357, allocations: 6.5 kB / 1.076 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.3571, allocations: 4 kB / 1.076 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3571, allocations: 0 / 1.076 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.3571, allocations: 4.062 kB / 1.076 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3571, allocations: 0 / 1.076 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.3571, allocations: 11.84 kB / 1.076 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3571, allocations: 0 / 1.076 GB, free: 3.23 MB / 0.8419 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.0001265/0.3573, allocations: 181.1 kB / 1.076 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.3574, allocations: 116.8 kB / 1.076 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/0.3574, allocations: 112.9 kB / 1.076 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-05/0.3575, allocations: 180.3 kB / 1.076 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.152e-05/0.3576, allocations: 180.3 kB / 1.076 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.728e-05/0.3577, allocations: 180.3 kB / 1.076 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.358, allocations: 421.1 kB / 1.077 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-05/0.358, allocations: 104.9 kB / 1.077 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.3581, allocations: 105 kB / 1.077 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.848e-05/0.3581, allocations: 184.2 kB / 1.077 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/0.3582, allocations: 180.2 kB / 1.077 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.021e-05/0.3583, allocations: 184.2 kB / 1.078 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.85e-05/0.3584, allocations: 180.3 kB / 1.078 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3586, allocations: 315.7 kB / 1.078 GB, free: 500 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.3587, allocations: 189.9 kB / 1.078 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.3588, allocations: 188.2 kB / 1.078 GB, free: 88 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.5529/0.9116, allocations: 101 kB / 1.078 GB, free: 22.44 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.9117, allocations: 179.5 kB / 1.079 GB, free: 22.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.9117, allocations: 101 kB / 1.079 GB, free: 22.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.702e-05/0.9118, allocations: 96.73 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9118, allocations: 1.594 kB / 1.079 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001003/0.9129, allocations: 271.8 kB / 1.079 GB, free: 22.08 MB / 0.8419 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.001136/0.914, allocations: 0.5254 MB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.9141, allocations: 40.89 kB / 1.08 GB, free: 21.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9141, allocations: 0.7188 kB / 1.08 GB, free: 21.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.9141, allocations: 0 / 1.08 GB, free: 21.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.9145, allocations: 467 kB / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.9147, allocations: 258.9 kB / 1.08 GB, free: 21.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.9149, allocations: 0.682 MB / 1.081 GB, free: 20.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.9149, allocations: 9.375 kB / 1.081 GB, free: 20.49 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.9149, allocations: 1.719 kB / 1.081 GB, free: 20.49 MB / 0.8419 GB Notification: Performance of Templates: time 0.009223/0.9241, allocations: 4.634 MB / 1.086 GB, free: 20.12 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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