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.0009253/0.0009253, allocations: 98.27 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.007456/0.007456, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.536/2.536, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 12 kB / 0.816 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8137/0.8141, allocations: 142.4 MB / 0.9551 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001349/0.8155, allocations: 1.154 MB / 0.9562 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004024/0.8195, allocations: 2.886 MB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.8196, allocations: 0 / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.8196, allocations: 3.984 kB / 0.959 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.882e-05/0.8197, allocations: 18.61 kB / 0.9591 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.8231, allocations: 1.371 MB / 0.9604 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.8232, allocations: 45.59 kB / 0.9604 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.8233, allocations: 1.375 kB / 0.9604 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.8233, allocations: 12.19 kB / 0.9605 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.8233, allocations: 14.8 kB / 0.9605 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.8233, allocations: 1.375 kB / 0.9605 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.8255, allocations: 1.433 MB / 0.9619 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.8255, allocations: 13.3 kB / 0.9619 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.8256, allocations: 39.95 kB / 0.9619 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.827, allocations: 1.085 MB / 0.963 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.827, allocations: 0 / 0.963 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.827, allocations: 0 / 0.963 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.827, allocations: 0 / 0.963 GB, free: 2.18 MB / 0.7169 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.0004989/0.8276, allocations: 0.5054 MB / 0.9635 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.8276, allocations: 8.375 kB / 0.9635 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.8276, allocations: 86.59 kB / 0.9636 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.8278, allocations: 250 kB / 0.9638 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.8278, allocations: 150.9 kB / 0.9639 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.8278, allocations: 156.4 kB / 0.9641 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.377e-05/0.8279, allocations: 109 kB / 0.9642 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8279, allocations: 76.34 kB / 0.9643 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.8279, allocations: 158.5 kB / 0.9644 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.8279, allocations: 150.6 kB / 0.9646 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.828, allocations: 151.6 kB / 0.9647 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.8282, allocations: 465.7 kB / 0.9652 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.8283, allocations: 174.1 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.8284, allocations: 80.14 kB / 0.9654 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.8284, allocations: 76.56 kB / 0.9655 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.8285, allocations: 117.8 kB / 0.9656 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8285, allocations: 1.125 kB / 0.9656 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.575e-05/0.8286, allocations: 32.17 kB / 0.9656 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.8286, allocations: 134.6 kB / 0.9657 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.8288, allocations: 131.8 kB / 0.9659 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.8288, allocations: 25.7 kB / 0.9659 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.8289, allocations: 98.75 kB / 0.966 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.8289, allocations: 0 / 0.966 GB, free: 15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.8289, allocations: 12.03 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.829, allocations: 316.2 kB / 0.9663 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.829, allocations: 6.641 kB / 0.9663 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.8291, allocations: 7.938 kB / 0.9663 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.8291, allocations: 13.7 kB / 0.9663 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8291, allocations: 0 / 0.9663 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001255/0.8293, allocations: 55.08 kB / 0.9664 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8293, allocations: 8.641 kB / 0.9664 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.8293, allocations: 3.281 kB / 0.9664 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.8293, allocations: 0 / 0.9664 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/0.8293, allocations: 1.156 kB / 0.9664 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8293, allocations: 0 / 0.9664 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.8294, allocations: 5 kB / 0.9664 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.8294, allocations: 5.094 kB / 0.9664 GB, free: 14.59 MB / 0.7325 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.0001096/0.8295, allocations: 183.4 kB / 0.9666 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.8296, allocations: 107.3 kB / 0.9667 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.8296, allocations: 118.8 kB / 0.9668 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-05/0.8297, allocations: 185.7 kB / 0.967 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.997e-05/0.8298, allocations: 176.3 kB / 0.9671 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/0.8298, allocations: 185.4 kB / 0.9673 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.8301, allocations: 408.1 kB / 0.9677 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/0.8302, allocations: 113.9 kB / 0.9678 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.8302, allocations: 106.1 kB / 0.9679 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-05/0.8303, allocations: 185.4 kB / 0.9681 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.8304, allocations: 185.2 kB / 0.9683 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.413e-05/0.8304, allocations: 177.4 kB / 0.9684 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.585e-05/0.8305, allocations: 185.2 kB / 0.9686 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.8306, allocations: 307.9 kB / 0.9689 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.8307, allocations: 192.3 kB / 0.9691 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.8308, allocations: 181.3 kB / 0.9693 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.8309, allocations: 110 kB / 0.9694 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.831, allocations: 181.4 kB / 0.9695 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.831, allocations: 106 kB / 0.9696 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.8311, allocations: 98.14 kB / 0.9697 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8311, allocations: 0 / 0.9697 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008144/0.8319, allocations: 287.2 kB / 0.97 GB, free: 10.91 MB / 0.7325 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.001139/0.8331, allocations: 0.5074 MB / 0.9705 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.8332, allocations: 32.48 kB / 0.9705 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8332, allocations: 1.156 kB / 0.9705 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-06/0.8332, allocations: 7.984 kB / 0.9705 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.8337, allocations: 0.5305 MB / 0.9711 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.834, allocations: 262.1 kB / 0.9713 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.8343, allocations: 0.6848 MB / 0.972 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.8343, allocations: 0 / 0.972 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.8343, allocations: 9.625 kB / 0.972 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.8344, allocations: 0 / 0.972 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of Templates: time 0.01072/0.8451, allocations: 5.467 MB / 0.9773 GB, free: 6.293 MB / 0.7325 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/jenkins/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) Reference file matches