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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001223/0.001223, allocations: 86.72 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.001459/0.001459, 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.59/1.59, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.7/2.7, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7353, allocations: 142.4 MB / 0.9545 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001379/0.7368, allocations: 1.132 MB / 0.9556 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.7403, allocations: 2.618 MB / 0.9582 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.7404, allocations: 4 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.7404, allocations: 0 / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.7405, allocations: 13.64 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.7434, allocations: 1.239 MB / 0.9594 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.7435, allocations: 36.25 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.7436, allocations: 5.359 kB / 0.9594 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.7436, allocations: 20.19 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.746e-05/0.7436, allocations: 10.81 kB / 0.9594 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.7436, allocations: 1.375 kB / 0.9594 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.7455, allocations: 1.213 MB / 0.9606 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.7455, allocations: 5.844 kB / 0.9606 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.7455, allocations: 32.8 kB / 0.9607 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009534/0.7465, allocations: 0.6917 MB / 0.9613 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7465, allocations: 0 / 0.9613 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7465, allocations: 0 / 0.9613 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.7465, allocations: 5.125 kB / 0.9614 GB, free: 2.977 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.0004987/0.747, allocations: 0.5018 MB / 0.9618 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7471, allocations: 9.375 kB / 0.9618 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.7471, allocations: 85.95 kB / 0.9619 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.7472, allocations: 246.2 kB / 0.9622 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.7473, allocations: 154.5 kB / 0.9623 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.7473, allocations: 151.7 kB / 0.9625 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.548e-05/0.7474, allocations: 106 kB / 0.9626 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.7474, allocations: 75.28 kB / 0.9626 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.7474, allocations: 151.6 kB / 0.9628 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.7474, allocations: 154.5 kB / 0.9629 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.7475, allocations: 159.6 kB / 0.9631 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.7477, allocations: 465.4 kB / 0.9635 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.7477, allocations: 170.2 kB / 0.9637 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.7477, allocations: 80.14 kB / 0.9638 GB, free: 440 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.7478, allocations: 75.28 kB / 0.9638 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.7478, allocations: 114.9 kB / 0.9639 GB, free: 240 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.7478, allocations: 0 / 0.9639 GB, free: 240 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.632e-05/0.7479, allocations: 36.92 kB / 0.964 GB, free: 200 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7479, allocations: 126.7 kB / 0.9641 GB, free: 60 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.7481, allocations: 140 kB / 0.9642 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.7481, allocations: 25.7 kB / 0.9643 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.7481, allocations: 86.45 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.7481, allocations: 0 / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.7482, allocations: 5.312 kB / 0.9643 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7483, allocations: 320.3 kB / 0.9646 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.7483, allocations: 2.375 kB / 0.9646 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.7483, allocations: 8.125 kB / 0.9647 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.7483, allocations: 3.844 kB / 0.9647 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7484, allocations: 0 / 0.9647 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001329/0.7485, allocations: 53.97 kB / 0.9647 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7485, allocations: 5.625 kB / 0.9647 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7485, allocations: 6.312 kB / 0.9647 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7486, allocations: 4.062 kB / 0.9647 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.7486, allocations: 5.344 kB / 0.9647 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.7486, allocations: 0 / 0.9647 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.7486, allocations: 5.297 kB / 0.9647 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.7486, allocations: 5.188 kB / 0.9647 GB, free: 15.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.7487, allocations: 182.4 kB / 0.9649 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.7488, allocations: 111.2 kB / 0.965 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.7489, allocations: 118.8 kB / 0.9651 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.1e-05/0.7489, allocations: 185.3 kB / 0.9653 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.178e-05/0.749, allocations: 177.6 kB / 0.9655 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-05/0.7491, allocations: 181.2 kB / 0.9657 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.7493, allocations: 415.2 kB / 0.966 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/0.7493, allocations: 110.3 kB / 0.9662 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.7494, allocations: 106.3 kB / 0.9663 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-05/0.7494, allocations: 177.6 kB / 0.9664 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.7495, allocations: 180.2 kB / 0.9666 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.432e-05/0.7495, allocations: 181.2 kB / 0.9668 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.539e-05/0.7496, allocations: 181.5 kB / 0.9669 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.7498, allocations: 308.7 kB / 0.9672 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.7498, allocations: 192.3 kB / 0.9674 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.7499, allocations: 177.7 kB / 0.9676 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.75, allocations: 106.2 kB / 0.9677 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.7501, allocations: 181.4 kB / 0.9679 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.7501, allocations: 114.2 kB / 0.968 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.7502, allocations: 104.7 kB / 0.9681 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7502, allocations: 0 / 0.9681 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008411/0.751, allocations: 272.7 kB / 0.9683 GB, free: 11.75 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 (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.0009865/0.752, allocations: 0.5013 MB / 0.9688 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.991e-05/0.7521, allocations: 37.48 kB / 0.9689 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7521, allocations: 0 / 0.9689 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.7521, allocations: 5.5 kB / 0.9689 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.7526, allocations: 0.5296 MB / 0.9694 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.7529, allocations: 257 kB / 0.9696 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.7531, allocations: 0.6851 MB / 0.9703 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.7531, allocations: 3.938 kB / 0.9703 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.7532, allocations: 8.906 kB / 0.9703 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.7532, allocations: 1.594 kB / 0.9703 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of Templates: time 0.0109/0.7641, allocations: 5.413 MB / 0.9756 GB, free: 7.156 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