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.01106/0.01106, allocations: 107 kB / 15.74 MB, free: 6.043 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.002268/0.002268, allocations: 199 kB / 16.68 MB, free: 5.957 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8349, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002152/0.8371, allocations: 1.366 MB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.8396, allocations: 1.793 MB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.8397, allocations: 3.938 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.925e-05/0.8398, allocations: 9.375 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.8399, allocations: 34.75 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.8424, allocations: 1.147 MB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.8426, allocations: 41.05 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.8426, allocations: 6.719 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.047e-05/0.8427, allocations: 29.73 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.8428, allocations: 30.78 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.8428, allocations: 1.125 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.8441, allocations: 0.89 MB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.8442, allocations: 66.62 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.8443, allocations: 69.42 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.8456, allocations: 0.8744 MB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8456, allocations: 0.75 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8456, allocations: 0.8438 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.8456, allocations: 3.938 kB / 1.094 GB, free: 2.043 MB / 0.8575 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.0007255/0.8464, allocations: 0.5741 MB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8464, allocations: 9.031 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.8465, allocations: 25.98 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.8466, allocations: 221.6 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.8467, allocations: 4.375 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.8467, allocations: 1.312 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.8469, allocations: 111.9 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.8469, allocations: 3.984 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.8469, allocations: 3.938 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.8469, allocations: 1.531 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.847, allocations: 78.06 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.8473, allocations: 281.9 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.8474, allocations: 127.6 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.8475, allocations: 108.1 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.8476, allocations: 5.312 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.8476, allocations: 35.89 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 1.112e-06/0.8476, allocations: 0.5 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0004932/0.8481, allocations: 333.8 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.8481, allocations: 51.41 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.8484, allocations: 261 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.8484, allocations: 26.27 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.8485, allocations: 128.2 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/0.8486, allocations: 108.7 kB / 1.097 GB, free: 272 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.8486, allocations: 28.09 kB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8487, allocations: 342.1 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/0.8488, allocations: 73.77 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.8489, allocations: 70.8 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.8492, allocations: 209.5 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8492, allocations: 1.094 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002803/0.8495, allocations: 232.4 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8495, allocations: 4.656 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.8495, allocations: 2.859 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8495, allocations: 0 / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.8495, allocations: 0.6094 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.8496, allocations: 1.094 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.8496, allocations: 10.09 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.8496, allocations: 5.375 kB / 1.098 GB, free: 15.74 MB / 0.8731 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.000136/0.8498, allocations: 158.9 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.8498, allocations: 24.94 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.8502, allocations: 256.7 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8502, allocations: 1.094 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.8502, allocations: 0.6562 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8502, allocations: 1.094 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.8505, allocations: 278 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.8505, allocations: 5.438 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-06/0.8505, allocations: 0.7031 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.8505, allocations: 9 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.8505, allocations: 1.062 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8505, allocations: 0.6094 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8505, allocations: 0 / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.8508, allocations: 264.8 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.8509, allocations: 108.4 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.8509, allocations: 1.922 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.851, allocations: 4 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.851, allocations: 5.938 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.851, allocations: 0.8438 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001956/0.8512, allocations: 189.1 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8512, allocations: 0 / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009958/0.8522, allocations: 211.3 kB / 1.099 GB, free: 14.88 MB / 0.8731 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.0008319/0.8531, allocations: 340.5 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.8534, allocations: 263.8 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.8535, allocations: 0 / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.8537, allocations: 183.3 kB / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.8539, allocations: 21.83 kB / 1.1 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.8549, allocations: 491.9 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.8553, allocations: 0.7671 MB / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.8553, allocations: 7.109 kB / 1.101 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.8553, allocations: 13.78 kB / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.8553, allocations: 0 / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.01455/0.8699, allocations: 4.628 MB / 1.106 GB, free: 13.23 MB / 0.8731 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