Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00136/0.00136, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001435/0.001435, allocations: 194.9 kB / 16.91 MB, free: 5.758 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.09 kB / 0.8127 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3257, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003011/0.3288, allocations: 1.5 MB / 0.9513 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004339/0.3331, allocations: 2.841 MB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.3332, allocations: 0 / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.3332, allocations: 3.938 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.769e-05/0.3334, allocations: 15.91 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.3374, allocations: 1.426 MB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3375, allocations: 43.69 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.3375, allocations: 3.938 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.725e-05/0.3375, allocations: 19.91 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.3376, allocations: 11.94 kB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.3376, allocations: 0 / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.3399, allocations: 1.431 MB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.3399, allocations: 7.938 kB / 0.957 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.3399, allocations: 15.88 kB / 0.957 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.3412, allocations: 0.7331 MB / 0.9577 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3412, allocations: 4 kB / 0.9577 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3412, allocations: 0 / 0.9577 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3412, allocations: 0 / 0.9577 GB, free: 1.113 MB / 0.7325 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.0007153/0.3419, allocations: 0.5069 MB / 0.9582 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3419, allocations: 11.97 kB / 0.9582 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.342, allocations: 88.12 kB / 0.9583 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3422, allocations: 251.5 kB / 0.9585 GB, free: 180 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.3422, allocations: 154.9 kB / 0.9587 GB, free: 24 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.3423, allocations: 150.9 kB / 0.9588 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.015e-05/0.3424, allocations: 109 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.3424, allocations: 79.28 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.3425, allocations: 158.6 kB / 0.9591 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.3425, allocations: 154.5 kB / 0.9593 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.3426, allocations: 150.6 kB / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.3429, allocations: 461.9 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.343, allocations: 177.1 kB / 0.96 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.343, allocations: 80.14 kB / 0.9601 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.343, allocations: 75.28 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.3431, allocations: 113.8 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3431, allocations: 0 / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.846e-05/0.3432, allocations: 29.61 kB / 0.9603 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.3432, allocations: 130.7 kB / 0.9605 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3434, allocations: 140.2 kB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.3434, allocations: 25.7 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3434, allocations: 92.08 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.3435, allocations: 0 / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.3435, allocations: 13.72 kB / 0.9607 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.3436, allocations: 322.8 kB / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.3436, allocations: 4 kB / 0.961 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.3436, allocations: 4 kB / 0.961 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.3437, allocations: 16.86 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3437, allocations: 0 / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/0.3438, allocations: 49.53 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3438, allocations: 4 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3439, allocations: 4 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3439, allocations: 48 / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-06/0.3439, allocations: 3.984 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3439, allocations: 3.938 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.3439, allocations: 11.94 kB / 0.9611 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3439, allocations: 4.062 kB / 0.9611 GB, free: 13.36 MB / 0.7481 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 9.041e-05/0.344, allocations: 189.1 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.3441, allocations: 116.8 kB / 0.9614 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.3442, allocations: 112.6 kB / 0.9615 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-05/0.3442, allocations: 180.2 kB / 0.9617 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.618e-05/0.3443, allocations: 184.3 kB / 0.9619 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-05/0.3443, allocations: 184.2 kB / 0.962 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.3445, allocations: 409.2 kB / 0.9624 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.3446, allocations: 104.9 kB / 0.9625 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.3446, allocations: 104.9 kB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.482e-05/0.3447, allocations: 184.3 kB / 0.9628 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.3447, allocations: 188.2 kB / 0.963 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-05/0.3448, allocations: 176.3 kB / 0.9632 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.873e-05/0.3449, allocations: 180.2 kB / 0.9633 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.345, allocations: 307.7 kB / 0.9636 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.3451, allocations: 197.9 kB / 0.9638 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.3452, allocations: 184.3 kB / 0.964 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.3453, allocations: 108.9 kB / 0.9641 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.3453, allocations: 176.3 kB / 0.9643 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3454, allocations: 109 kB / 0.9644 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.3454, allocations: 98.08 kB / 0.9645 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3455, allocations: 0 / 0.9645 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000871/0.3463, allocations: 279.8 kB / 0.9647 GB, free: 9.449 MB / 0.7481 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.001258/0.3476, allocations: 0.5213 MB / 0.9652 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.776e-05/0.3477, allocations: 41.69 kB / 0.9653 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3477, allocations: 0 / 0.9653 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.3477, allocations: 0 / 0.9653 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3481, allocations: 467.7 kB / 0.9657 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.3485, allocations: 283.1 kB / 0.966 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3487, allocations: 0.6807 MB / 0.9667 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.3488, allocations: 7.438 kB / 0.9667 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.3488, allocations: 0 / 0.9667 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of Templates: time 0.008044/0.3568, allocations: 4.64 MB / 0.9712 GB, free: 2.758 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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