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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001331/0.001331, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.373/2.373, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 0.8119 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6637, allocations: 140.3 MB / 0.949 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002295/0.6661, allocations: 1.438 MB / 0.9504 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.6686, allocations: 1.848 MB / 0.9522 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.6687, allocations: 0 / 0.9522 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.6688, allocations: 9.203 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.6689, allocations: 31.22 kB / 0.9522 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.6711, allocations: 1.056 MB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.6713, allocations: 87.19 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.6713, allocations: 2.812 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.6714, allocations: 27.11 kB / 0.9534 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.6715, allocations: 37.39 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.6715, allocations: 2.062 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.6726, allocations: 0.8408 MB / 0.9542 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.6727, allocations: 71.5 kB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.6728, allocations: 71.91 kB / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008888/0.6737, allocations: 0.8814 MB / 0.9552 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6737, allocations: 0 / 0.9552 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.81e-07/0.6737, allocations: 0 / 0.9552 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6737, allocations: 1 kB / 0.9552 GB, free: 4.855 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.0005639/0.6743, allocations: 0.5771 MB / 0.9558 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6743, allocations: 8.469 kB / 0.9558 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.6744, allocations: 29.03 kB / 0.9558 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.6745, allocations: 232.2 kB / 0.956 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.6746, allocations: 6.188 kB / 0.956 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.6746, allocations: 384 / 0.956 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.6747, allocations: 103.2 kB / 0.9561 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6747, allocations: 0 / 0.9561 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.6747, allocations: 4 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6747, allocations: 1.531 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.6748, allocations: 70.7 kB / 0.9562 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.6751, allocations: 285.4 kB / 0.9565 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.6752, allocations: 124 kB / 0.9566 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.6753, allocations: 103.8 kB / 0.9567 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.6753, allocations: 5.312 kB / 0.9567 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.6753, allocations: 35.92 kB / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.102e-06/0.6753, allocations: 0 / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0003809/0.6757, allocations: 342.1 kB / 0.9571 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.6757, allocations: 56.53 kB / 0.9571 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.676, allocations: 258.5 kB / 0.9574 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.676, allocations: 29.64 kB / 0.9574 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.676, allocations: 127.7 kB / 0.9575 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.6761, allocations: 103 kB / 0.9576 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.6761, allocations: 27.2 kB / 0.9576 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.6762, allocations: 341.8 kB / 0.958 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.6763, allocations: 74.62 kB / 0.958 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.6763, allocations: 75.45 kB / 0.9581 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.6765, allocations: 200.6 kB / 0.9583 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6766, allocations: 5.125 kB / 0.9583 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002204/0.6768, allocations: 223.7 kB / 0.9585 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6768, allocations: 5.688 kB / 0.9585 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.6768, allocations: 5.344 kB / 0.9585 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6768, allocations: 0 / 0.9585 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.6768, allocations: 1.062 kB / 0.9585 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6768, allocations: 0 / 0.9585 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.6769, allocations: 14.41 kB / 0.9585 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.6769, allocations: 9.406 kB / 0.9586 GB, free: 2.336 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 0.0001001/0.677, allocations: 155.3 kB / 0.9587 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.677, allocations: 23.81 kB / 0.9587 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.6773, allocations: 257.4 kB / 0.959 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6774, allocations: 1.438 kB / 0.959 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6774, allocations: 0 / 0.959 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6774, allocations: 4.031 kB / 0.959 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.6776, allocations: 281.2 kB / 0.9592 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6776, allocations: 5.156 kB / 0.9592 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.6776, allocations: 0 / 0.9592 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.6776, allocations: 1.188 kB / 0.9592 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.6776, allocations: 0 / 0.9592 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6776, allocations: 5.234 kB / 0.9593 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6776, allocations: 0 / 0.9593 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.6779, allocations: 260.9 kB / 0.9595 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.6779, allocations: 103.2 kB / 0.9596 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.6779, allocations: 1.281 kB / 0.9596 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.678, allocations: 0 / 0.9596 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.678, allocations: 9.312 kB / 0.9596 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.678, allocations: 0.8125 kB / 0.9596 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001405/0.6782, allocations: 195.6 kB / 0.9598 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6782, allocations: 0 / 0.9598 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007016/0.6789, allocations: 220.1 kB / 0.96 GB, free: 1.379 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.0007596/0.6796, allocations: 335.1 kB / 0.9603 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.68, allocations: 257.3 kB / 0.9606 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.68, allocations: 0 / 0.9606 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.6801, allocations: 178.5 kB / 0.9607 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.6804, allocations: 19.14 kB / 0.9608 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.6811, allocations: 0.567 MB / 0.9613 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.6813, allocations: 0.774 MB / 0.9621 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.6814, allocations: 2.375 kB / 0.9621 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.6814, allocations: 9.594 kB / 0.9621 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6814, allocations: 0 / 0.9621 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.009078/0.6905, allocations: 4.553 MB / 0.9665 GB, free: 13.57 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