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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001906/0.001906, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.445/2.445, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.89 kB / 0.8119 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7402, allocations: 140.3 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00241/0.7427, allocations: 1.443 MB / 0.9504 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.7451, allocations: 1.828 MB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.7452, allocations: 1.375 kB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.7453, allocations: 9.047 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.7455, allocations: 30.41 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.7479, allocations: 1.053 MB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.748, allocations: 82.95 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.7481, allocations: 2.281 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.7482, allocations: 26.86 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.7482, allocations: 29.22 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.7482, allocations: 0.9688 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.7495, allocations: 0.8428 MB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.7495, allocations: 29.66 kB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.7496, allocations: 26.03 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009862/0.7506, allocations: 0.8063 MB / 0.955 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7506, allocations: 1.75 kB / 0.955 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7506, allocations: 0 / 0.955 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7506, allocations: 4 kB / 0.955 GB, free: 4.859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004948/0.7511, allocations: 473.4 kB / 0.9555 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.7512, allocations: 9.719 kB / 0.9555 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.7512, allocations: 8.281 kB / 0.9555 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.7514, allocations: 189.8 kB / 0.9557 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.7514, allocations: 4.312 kB / 0.9557 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.7514, allocations: 5.312 kB / 0.9557 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.7515, allocations: 53.14 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7515, allocations: 0 / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7515, allocations: 4 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7516, allocations: 1.188 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.7516, allocations: 25.61 kB / 0.9558 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.7518, allocations: 192.5 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.7518, allocations: 46.52 kB / 0.956 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.7519, allocations: 36.25 kB / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.7519, allocations: 1.406 kB / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.7519, allocations: 35.69 kB / 0.9561 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.7519, allocations: 3.938 kB / 0.9561 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002169/0.7522, allocations: 122.1 kB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.7522, allocations: 51.41 kB / 0.9562 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.7523, allocations: 152 kB / 0.9564 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.7524, allocations: 27.17 kB / 0.9564 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.7524, allocations: 95.8 kB / 0.9565 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.7524, allocations: 23.55 kB / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.7525, allocations: 26.34 kB / 0.9566 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.7525, allocations: 325.8 kB / 0.9569 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.7526, allocations: 26.45 kB / 0.9569 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.7526, allocations: 26.33 kB / 0.9569 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.7527, allocations: 65.28 kB / 0.957 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7527, allocations: 1.656 kB / 0.957 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.7528, allocations: 91.88 kB / 0.9571 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7528, allocations: 5.719 kB / 0.9571 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7528, allocations: 1.062 kB / 0.9571 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7529, allocations: 4.062 kB / 0.9571 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.7529, allocations: 1.188 kB / 0.9571 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.7529, allocations: 0 / 0.9571 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.7529, allocations: 13.39 kB / 0.9571 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.7529, allocations: 0 / 0.9571 GB, free: 2.957 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 6.937e-05/0.753, allocations: 125.4 kB / 0.9572 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.753, allocations: 11.41 kB / 0.9572 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.7532, allocations: 103.9 kB / 0.9573 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7532, allocations: 4.031 kB / 0.9573 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7532, allocations: 1.062 kB / 0.9573 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7532, allocations: 0 / 0.9573 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.7533, allocations: 196.4 kB / 0.9575 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7534, allocations: 5.734 kB / 0.9575 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.7534, allocations: 0 / 0.9575 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7534, allocations: 0.9062 kB / 0.9575 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.7534, allocations: 1.062 kB / 0.9575 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.7534, allocations: 0 / 0.9575 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7534, allocations: 1.125 kB / 0.9575 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.7535, allocations: 125.5 kB / 0.9576 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.7535, allocations: 87.7 kB / 0.9577 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.7536, allocations: 1.375 kB / 0.9577 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.7536, allocations: 0 / 0.9577 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.7536, allocations: 5.359 kB / 0.9577 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.7536, allocations: 1.375 kB / 0.9577 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.393e-05/0.7537, allocations: 119.7 kB / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7537, allocations: 0 / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005957/0.7543, allocations: 218.2 kB / 0.9581 GB, free: 2.199 MB / 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.0007893/0.7551, allocations: 334.8 kB / 0.9584 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.7553, allocations: 91.73 kB / 0.9585 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7553, allocations: 1.062 kB / 0.9585 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.7553, allocations: 70.81 kB / 0.9585 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.7556, allocations: 16.88 kB / 0.9585 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.756, allocations: 249.3 kB / 0.9588 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.7561, allocations: 0.7074 MB / 0.9595 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.7561, allocations: 1.344 kB / 0.9595 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.7562, allocations: 8.344 kB / 0.9595 GB, free: 1 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7562, allocations: 4 kB / 0.9595 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of Templates: time 0.008995/0.7652, allocations: 4.281 MB / 0.9637 GB, free: 14.82 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches