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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,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.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,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.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.38/2.38, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8515, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.0035/0.8551, allocations: 1.437 MB / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.8601, allocations: 2.836 MB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.8602, allocations: 1.562 kB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.8602, allocations: 11.92 kB / 0.9538 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.8603, allocations: 9.281 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.8649, allocations: 1.559 MB / 0.9554 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.805e-05/0.865, allocations: 38.23 kB / 0.9554 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.8651, allocations: 2.188 kB / 0.9554 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.8651, allocations: 15.94 kB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.8652, allocations: 14.55 kB / 0.9554 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.8652, allocations: 2.156 kB / 0.9554 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.8677, allocations: 1.43 MB / 0.9568 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.8678, allocations: 5.312 kB / 0.9568 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.8678, allocations: 14.75 kB / 0.9568 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.8695, allocations: 1.072 MB / 0.9579 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8695, allocations: 3.938 kB / 0.9579 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.978e-06/0.8695, allocations: 0 / 0.9579 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.8695, allocations: 3.938 kB / 0.9579 GB, free: 3.34 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.0006082/0.8701, allocations: 0.5121 MB / 0.9584 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.8702, allocations: 9.312 kB / 0.9584 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.8702, allocations: 86.53 kB / 0.9585 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.8704, allocations: 252.5 kB / 0.9587 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.8704, allocations: 154.9 kB / 0.9589 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.8705, allocations: 152.2 kB / 0.959 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.74e-05/0.8705, allocations: 106 kB / 0.9591 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.8705, allocations: 75.28 kB / 0.9592 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.8706, allocations: 154.6 kB / 0.9593 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.8706, allocations: 151.6 kB / 0.9595 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.8707, allocations: 155.3 kB / 0.9596 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.8709, allocations: 461.5 kB / 0.9601 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.554e-05/0.871, allocations: 170.3 kB / 0.9602 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/0.871, allocations: 80.14 kB / 0.9603 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.871, allocations: 79.28 kB / 0.9604 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.8711, allocations: 114.7 kB / 0.9605 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.8711, allocations: 1.125 kB / 0.9605 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.79e-05/0.8711, allocations: 31.77 kB / 0.9605 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.8712, allocations: 131.8 kB / 0.9607 GB, free: 424 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.8713, allocations: 135.2 kB / 0.9608 GB, free: 300 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.8713, allocations: 26.55 kB / 0.9608 GB, free: 268 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.8714, allocations: 90.33 kB / 0.9609 GB, free: 176 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.8714, allocations: 1.094 kB / 0.9609 GB, free: 176 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.8714, allocations: 14.22 kB / 0.9609 GB, free: 160 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8716, allocations: 320 kB / 0.9612 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.8716, allocations: 2.969 kB / 0.9612 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.8716, allocations: 15.36 kB / 0.9612 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.8717, allocations: 14.2 kB / 0.9612 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8717, allocations: 0 / 0.9612 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001529/0.8718, allocations: 54.5 kB / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8719, allocations: 5.156 kB / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.8719, allocations: 3.219 kB / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.8719, allocations: 0 / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.8719, allocations: 1.094 kB / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8719, allocations: 0 / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.872, allocations: 1.25 kB / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.872, allocations: 5 kB / 0.9613 GB, free: 15.76 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.0001248/0.8721, allocations: 183.3 kB / 0.9615 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.8722, allocations: 119 kB / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.8723, allocations: 118.8 kB / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-05/0.8724, allocations: 177.5 kB / 0.9619 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.303e-05/0.8725, allocations: 189.3 kB / 0.9621 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-05/0.8725, allocations: 185.3 kB / 0.9622 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.8728, allocations: 419.6 kB / 0.9626 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/0.8729, allocations: 106 kB / 0.9627 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.8729, allocations: 101 kB / 0.9628 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.241e-05/0.873, allocations: 181.3 kB / 0.963 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.8731, allocations: 185.3 kB / 0.9632 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.688e-05/0.8732, allocations: 181.3 kB / 0.9634 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.8e-05/0.8732, allocations: 181.4 kB / 0.9635 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.8734, allocations: 301.2 kB / 0.9638 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.8735, allocations: 196.1 kB / 0.964 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.8736, allocations: 185.3 kB / 0.9642 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.8737, allocations: 102.3 kB / 0.9643 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.8738, allocations: 181.5 kB / 0.9645 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.8738, allocations: 108.9 kB / 0.9646 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.8739, allocations: 97.67 kB / 0.9646 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8739, allocations: 0 / 0.9646 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001035/0.875, allocations: 282.5 kB / 0.9649 GB, free: 12.08 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.001238/0.8762, allocations: 0.5116 MB / 0.9654 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.8763, allocations: 37.75 kB / 0.9655 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8763, allocations: 0 / 0.9655 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-06/0.8764, allocations: 3.938 kB / 0.9655 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.8768, allocations: 473 kB / 0.9659 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.8772, allocations: 244.3 kB / 0.9661 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.8776, allocations: 0.6802 MB / 0.9668 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.56e-05/0.8776, allocations: 5.219 kB / 0.9668 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.8776, allocations: 8.719 kB / 0.9668 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8776, allocations: 1.062 kB / 0.9668 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.01075/0.8884, allocations: 5.47 MB / 0.9722 GB, free: 7.547 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches