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.001516/0.001516, allocations: 108 kB / 15.6 MB, free: 132 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.00196/0.00196, allocations: 196.8 kB / 16.53 MB, free: 6.391 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.509/2.509, allocations: 390.2 MB / 0.6646 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 63.91 kB / 0.8126 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7474, allocations: 140.3 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002372/0.7498, allocations: 1.378 MB / 0.951 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.7523, allocations: 1.786 MB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.7524, allocations: 0 / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.16e-05/0.7525, allocations: 5.172 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.7526, allocations: 27.12 kB / 0.9528 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.7553, allocations: 1.151 MB / 0.9539 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.7555, allocations: 39.67 kB / 0.9539 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.7555, allocations: 6.375 kB / 0.9539 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.7556, allocations: 27.25 kB / 0.9539 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.7557, allocations: 23.03 kB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.7557, allocations: 1.094 kB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.757, allocations: 0.8486 MB / 0.9548 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.7571, allocations: 23.3 kB / 0.9548 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.7572, allocations: 32.8 kB / 0.9549 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009186/0.7581, allocations: 0.8018 MB / 0.9556 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7581, allocations: 1.5 kB / 0.9556 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7581, allocations: 0 / 0.9556 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.7581, allocations: 0 / 0.9556 GB, free: 4.898 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.0004747/0.7586, allocations: 478.6 kB / 0.9561 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7586, allocations: 8.594 kB / 0.9561 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.7587, allocations: 8.656 kB / 0.9561 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.7588, allocations: 192.5 kB / 0.9563 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.7589, allocations: 384 / 0.9563 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.7589, allocations: 9.25 kB / 0.9563 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.759, allocations: 52.94 kB / 0.9564 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.759, allocations: 0 / 0.9564 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.759, allocations: 1.156 kB / 0.9564 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.759, allocations: 0 / 0.9564 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.7591, allocations: 26.83 kB / 0.9564 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.7592, allocations: 188.1 kB / 0.9566 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.247e-05/0.7593, allocations: 54.41 kB / 0.9566 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.7593, allocations: 31.86 kB / 0.9566 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.7594, allocations: 1.25 kB / 0.9566 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.7594, allocations: 39.7 kB / 0.9567 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.7594, allocations: 0 / 0.9567 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002241/0.7596, allocations: 117.7 kB / 0.9568 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.7597, allocations: 59.28 kB / 0.9568 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.7598, allocations: 152.9 kB / 0.957 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.7598, allocations: 31.27 kB / 0.957 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.7599, allocations: 99.16 kB / 0.9571 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.7599, allocations: 20.31 kB / 0.9571 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.7599, allocations: 22.17 kB / 0.9572 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.76, allocations: 325.6 kB / 0.9575 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.531e-05/0.76, allocations: 22.02 kB / 0.9575 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.7601, allocations: 27.36 kB / 0.9575 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.7602, allocations: 65.44 kB / 0.9576 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7602, allocations: 4.031 kB / 0.9576 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/0.7603, allocations: 92.38 kB / 0.9577 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7603, allocations: 9.484 kB / 0.9577 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7603, allocations: 1.375 kB / 0.9577 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.7603, allocations: 0 / 0.9577 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.7604, allocations: 1.375 kB / 0.9577 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7604, allocations: 0 / 0.9577 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.7604, allocations: 5.281 kB / 0.9577 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.7604, allocations: 1.688 kB / 0.9577 GB, free: 2.996 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 7.474e-05/0.7605, allocations: 128.8 kB / 0.9578 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.7605, allocations: 10.59 kB / 0.9578 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.7607, allocations: 109.2 kB / 0.9579 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7607, allocations: 1.375 kB / 0.9579 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7607, allocations: 0 / 0.9579 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7607, allocations: 3.984 kB / 0.9579 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.921e-05/0.7608, allocations: 197 kB / 0.9581 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7608, allocations: 1.375 kB / 0.9581 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-06/0.7608, allocations: 0 / 0.9581 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7608, allocations: 5.312 kB / 0.9581 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.7608, allocations: 4.031 kB / 0.9581 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7608, allocations: 1.375 kB / 0.9581 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7608, allocations: 0 / 0.9581 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.7609, allocations: 117.1 kB / 0.9582 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.761, allocations: 87.75 kB / 0.9583 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.761, allocations: 1.375 kB / 0.9583 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.761, allocations: 3.938 kB / 0.9583 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.761, allocations: 1.375 kB / 0.9583 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.7611, allocations: 9.391 kB / 0.9583 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.7611, allocations: 123.9 kB / 0.9585 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7611, allocations: 0 / 0.9585 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006368/0.7618, allocations: 203.4 kB / 0.9587 GB, free: 2.234 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.0007414/0.7625, allocations: 344.2 kB / 0.959 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.7627, allocations: 97.08 kB / 0.9591 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7627, allocations: 0 / 0.9591 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.7628, allocations: 67.44 kB / 0.9591 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.763, allocations: 12.98 kB / 0.9592 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.7634, allocations: 223 kB / 0.9594 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.7635, allocations: 0.7142 MB / 0.9601 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.774e-05/0.7635, allocations: 0.8438 kB / 0.9601 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.7636, allocations: 9.344 kB / 0.9601 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7636, allocations: 0 / 0.9601 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.007956/0.7715, allocations: 4.315 MB / 0.9643 GB, free: 14.86 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