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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008495/0.0008495, allocations: 97.48 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.006169/0.006169, allocations: 170.8 kB / 16.27 MB, free: 6.32 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.428/2.428, allocations: 390.9 MB / 0.6663 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 12 kB / 0.816 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6943, allocations: 142.4 MB / 0.9551 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001506/0.6958, allocations: 1.097 MB / 0.9562 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.6985, allocations: 1.804 MB / 0.9579 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.6986, allocations: 1.125 kB / 0.9579 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.408e-05/0.6987, allocations: 9.062 kB / 0.9579 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.6989, allocations: 34.34 kB / 0.958 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.7016, allocations: 1.041 MB / 0.959 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.7018, allocations: 86.3 kB / 0.9591 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.7019, allocations: 2.75 kB / 0.9591 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.702, allocations: 32.34 kB / 0.9591 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.7021, allocations: 36.39 kB / 0.9591 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.7021, allocations: 1.375 kB / 0.9591 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.7038, allocations: 0.8419 MB / 0.96 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.7039, allocations: 66.94 kB / 0.96 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.704, allocations: 94.62 kB / 0.9601 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.7054, allocations: 0.8834 MB / 0.961 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7054, allocations: 1.25 kB / 0.961 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7054, allocations: 0 / 0.961 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7055, allocations: 0 / 0.961 GB, free: 3.617 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007826/0.7062, allocations: 0.5578 MB / 0.9615 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7063, allocations: 14 kB / 0.9615 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.7064, allocations: 23.69 kB / 0.9616 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.7066, allocations: 229.3 kB / 0.9618 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.7066, allocations: 384 / 0.9618 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.7066, allocations: 1.344 kB / 0.9618 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.7067, allocations: 110.5 kB / 0.9619 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.7068, allocations: 1.031 kB / 0.9619 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.7068, allocations: 0 / 0.9619 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7068, allocations: 3.938 kB / 0.9619 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.7069, allocations: 80.11 kB / 0.962 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.7071, allocations: 281 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.7072, allocations: 119.2 kB / 0.9624 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.7073, allocations: 105.9 kB / 0.9625 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.7074, allocations: 8.922 kB / 0.9625 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.7074, allocations: 35.62 kB / 0.9625 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.152e-06/0.7074, allocations: 0 / 0.9625 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0003849/0.7078, allocations: 338.1 kB / 0.9628 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.7078, allocations: 60.86 kB / 0.9629 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.708, allocations: 254.6 kB / 0.9631 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.708, allocations: 25.7 kB / 0.9631 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.7081, allocations: 126.7 kB / 0.9633 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.7082, allocations: 106.8 kB / 0.9634 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.7082, allocations: 26.58 kB / 0.9634 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.7083, allocations: 340.8 kB / 0.9637 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.7083, allocations: 74.66 kB / 0.9638 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.7084, allocations: 72.11 kB / 0.9639 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.7086, allocations: 205.1 kB / 0.964 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7086, allocations: 0 / 0.964 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002309/0.7088, allocations: 228.4 kB / 0.9643 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7088, allocations: 6.25 kB / 0.9643 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7089, allocations: 1.969 kB / 0.9643 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.7089, allocations: 0 / 0.9643 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.7089, allocations: 1.094 kB / 0.9643 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.7089, allocations: 0 / 0.9643 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.709, allocations: 9.781 kB / 0.9643 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.709, allocations: 4.906 kB / 0.9643 GB, free: 1.121 MB / 0.7169 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.928e-05/0.7091, allocations: 160.1 kB / 0.9644 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.7091, allocations: 27.34 kB / 0.9645 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.7094, allocations: 256.7 kB / 0.9647 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.7094, allocations: 0 / 0.9647 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7094, allocations: 0 / 0.9647 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.7094, allocations: 1.219 kB / 0.9647 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.7096, allocations: 281 kB / 0.965 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7096, allocations: 5.094 kB / 0.965 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.7096, allocations: 0 / 0.965 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7096, allocations: 1.062 kB / 0.965 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.7096, allocations: 3.984 kB / 0.965 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7096, allocations: 1.156 kB / 0.965 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.7096, allocations: 0 / 0.965 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.7099, allocations: 268.5 kB / 0.9653 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.7099, allocations: 111.6 kB / 0.9654 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.71, allocations: 4.906 kB / 0.9654 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.71, allocations: 0 / 0.9654 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.71, allocations: 1.969 kB / 0.9654 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.71, allocations: 1.156 kB / 0.9654 GB, free: 336 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001491/0.7102, allocations: 190.7 kB / 0.9655 GB, free: 212 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7102, allocations: 0 / 0.9655 GB, free: 212 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007715/0.711, allocations: 216.4 kB / 0.9658 GB, free: 160 kB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.000955/0.7119, allocations: 335.3 kB / 0.9661 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.7122, allocations: 264 kB / 0.9663 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7122, allocations: 1.094 kB / 0.9663 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.7124, allocations: 178.6 kB / 0.9665 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.7127, allocations: 14.59 kB / 0.9665 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.7135, allocations: 0.5798 MB / 0.9671 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.7139, allocations: 0.7685 MB / 0.9678 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.7139, allocations: 1.281 kB / 0.9678 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.7139, allocations: 10 kB / 0.9678 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7139, allocations: 0 / 0.9678 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.009036/0.723, allocations: 4.548 MB / 0.9723 GB, free: 12.33 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches