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.001721/0.00172, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002414/0.002415, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.477 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.526/2.526, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.8121 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6547, allocations: 140.4 MB / 0.9492 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002292/0.657, allocations: 1.439 MB / 0.9506 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.6594, allocations: 1.782 MB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.6594, allocations: 1.344 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.709e-05/0.6595, allocations: 9.203 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.6597, allocations: 18.14 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.6621, allocations: 1.065 MB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.6622, allocations: 56.22 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.6622, allocations: 5.516 kB / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.6623, allocations: 22.92 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.6624, allocations: 26.3 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.6624, allocations: 1.031 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.6634, allocations: 0.8527 MB / 0.9543 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.6635, allocations: 27.84 kB / 0.9543 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.6635, allocations: 24.16 kB / 0.9544 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.6643, allocations: 0.7782 MB / 0.9551 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6644, allocations: 4 kB / 0.9551 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6644, allocations: 1.844 kB / 0.9551 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6644, allocations: 0 / 0.9551 GB, free: 4.93 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.0004874/0.6649, allocations: 481.3 kB / 0.9556 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6649, allocations: 9.594 kB / 0.9556 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.665, allocations: 7.5 kB / 0.9556 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.6651, allocations: 184.5 kB / 0.9558 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.6651, allocations: 1.656 kB / 0.9558 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.6651, allocations: 3.938 kB / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.6652, allocations: 62.41 kB / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.6652, allocations: 0 / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.6652, allocations: 0 / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6653, allocations: 0 / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.6653, allocations: 26.64 kB / 0.9559 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.6655, allocations: 184.4 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.898e-05/0.6655, allocations: 51.31 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.6656, allocations: 35.94 kB / 0.9561 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.6656, allocations: 9.281 kB / 0.9561 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.6656, allocations: 30.56 kB / 0.9562 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.6656, allocations: 0.8438 kB / 0.9562 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002128/0.6659, allocations: 125.8 kB / 0.9563 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.6659, allocations: 51.41 kB / 0.9563 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.666, allocations: 158 kB / 0.9565 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.666, allocations: 25.7 kB / 0.9565 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.6661, allocations: 97.03 kB / 0.9566 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.6661, allocations: 25.97 kB / 0.9566 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.6661, allocations: 18.39 kB / 0.9566 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.6662, allocations: 326.4 kB / 0.957 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.6662, allocations: 22.56 kB / 0.957 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.6663, allocations: 35.67 kB / 0.957 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.6663, allocations: 60.73 kB / 0.9571 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6663, allocations: 0 / 0.9571 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.792e-05/0.6664, allocations: 93.61 kB / 0.9572 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6665, allocations: 8.469 kB / 0.9572 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.6665, allocations: 1.344 kB / 0.9572 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6665, allocations: 1.281 kB / 0.9572 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.6665, allocations: 0 / 0.9572 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.6665, allocations: 3.984 kB / 0.9572 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.6665, allocations: 5.344 kB / 0.9572 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.6666, allocations: 0.8438 kB / 0.9572 GB, free: 3.027 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.425e-05/0.6666, allocations: 125.4 kB / 0.9573 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.6666, allocations: 11.03 kB / 0.9573 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.6668, allocations: 116.1 kB / 0.9574 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6668, allocations: 0.8438 kB / 0.9574 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6668, allocations: 0 / 0.9574 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.6668, allocations: 1.094 kB / 0.9574 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.6669, allocations: 192.9 kB / 0.9576 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6669, allocations: 0.9062 kB / 0.9576 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.667, allocations: 3.984 kB / 0.9576 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.667, allocations: 1.125 kB / 0.9576 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.667, allocations: 1.062 kB / 0.9576 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.667, allocations: 0 / 0.9576 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.667, allocations: 8.016 kB / 0.9576 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.6671, allocations: 126.2 kB / 0.9577 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.6672, allocations: 83.77 kB / 0.9578 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.6672, allocations: 5.312 kB / 0.9578 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.6672, allocations: 0 / 0.9578 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.6673, allocations: 1.375 kB / 0.9578 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.6673, allocations: 0 / 0.9578 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.366e-05/0.6674, allocations: 126.6 kB / 0.9579 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6674, allocations: 0 / 0.9579 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005977/0.668, allocations: 205.1 kB / 0.9581 GB, free: 2.266 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.0007405/0.6687, allocations: 341.1 kB / 0.9585 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.6689, allocations: 96.83 kB / 0.9586 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6689, allocations: 0 / 0.9586 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/0.669, allocations: 75.95 kB / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.6692, allocations: 8.5 kB / 0.9586 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.6696, allocations: 243.4 kB / 0.9589 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.6697, allocations: 0.7187 MB / 0.9596 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.6698, allocations: 5.125 kB / 0.9596 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.6698, allocations: 8.5 kB / 0.9596 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6698, allocations: 0 / 0.9596 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.009156/0.6789, allocations: 4.299 MB / 0.9638 GB, free: 14.87 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