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.001492/0.001492, allocations: 104 kB / 16.41 MB, free: 6.512 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.001459/0.001459, allocations: 185.8 kB / 17.34 MB, free: 5.742 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.411/1.411, allocations: 222.9 MB / 241 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.379/2.379, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 67.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003361/1.04, allocations: 1.386 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004087/1.044, allocations: 1.786 MB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/1.044, allocations: 0.8438 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/1.044, allocations: 5.547 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/1.045, allocations: 43.03 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004933/1.05, allocations: 1.151 MB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/1.05, allocations: 44.88 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/1.05, allocations: 6.609 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/1.05, allocations: 25.72 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/1.05, allocations: 34.8 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/1.05, allocations: 1.094 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/1.053, allocations: 0.8898 MB / 1.094 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/1.053, allocations: 62.62 kB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/1.053, allocations: 69.28 kB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/1.055, allocations: 0.8746 MB / 1.095 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.055, allocations: 0.5625 kB / 1.095 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/1.055, allocations: 1.156 kB / 1.095 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.055, allocations: 0 / 1.095 GB, free: 2.035 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.000861/1.056, allocations: 0.582 MB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.056, allocations: 8.938 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/1.056, allocations: 20.94 kB / 1.096 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/1.056, allocations: 225.9 kB / 1.096 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/1.056, allocations: 384 / 1.096 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/1.056, allocations: 1.797 kB / 1.096 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/1.056, allocations: 112 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.056, allocations: 0.6562 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.056, allocations: 0 / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.056, allocations: 0.5 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/1.057, allocations: 79.11 kB / 1.096 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/1.057, allocations: 290 kB / 1.096 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/1.057, allocations: 123 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/1.057, allocations: 107 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/1.057, allocations: 5.656 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/1.057, allocations: 36.34 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/1.057, allocations: 4 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0006823/1.058, allocations: 336.8 kB / 1.097 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.058, allocations: 53.3 kB / 1.097 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/1.059, allocations: 255.7 kB / 1.097 GB, free: 496 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.059, allocations: 27.59 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/1.059, allocations: 127.2 kB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/1.059, allocations: 109.2 kB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/1.059, allocations: 27.52 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.059, allocations: 346 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.059, allocations: 70.56 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/1.059, allocations: 74.53 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/1.06, allocations: 205.7 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.06, allocations: 1.094 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004373/1.06, allocations: 227.8 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.06, allocations: 5.25 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.06, allocations: 1.828 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.06, allocations: 0.8125 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-06/1.06, allocations: 1.406 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.06, allocations: 4.062 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/1.06, allocations: 10.53 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/1.06, allocations: 1.094 kB / 1.098 GB, free: 15.73 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.0002037/1.061, allocations: 155.2 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/1.061, allocations: 25.05 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/1.061, allocations: 260.8 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/1.061, allocations: 1.062 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.061, allocations: 0 / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.061, allocations: 4.781 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/1.062, allocations: 278.3 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.062, allocations: 5.906 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-06/1.062, allocations: 0.7031 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/1.062, allocations: 0 / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/1.062, allocations: 5.062 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/1.062, allocations: 2.016 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.062, allocations: 0 / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/1.062, allocations: 260.7 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/1.062, allocations: 111.4 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/1.062, allocations: 2.859 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/1.062, allocations: 4 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/1.062, allocations: 4.547 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/1.062, allocations: 5.688 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002978/1.063, allocations: 188.9 kB / 1.1 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.063, allocations: 0 / 1.1 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001226/1.064, allocations: 211.3 kB / 1.1 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.001105/1.065, allocations: 339.6 kB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005229/1.066, allocations: 267.6 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.066, allocations: 0 / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/1.066, allocations: 178.9 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.0003634/1.066, allocations: 20.91 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.001287/1.068, allocations: 0.5097 MB / 1.101 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/1.068, allocations: 0.7708 MB / 1.102 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/1.068, allocations: 8.875 kB / 1.102 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/1.068, allocations: 1.406 kB / 1.102 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.01231/1.08, allocations: 4.679 MB / 1.106 GB, free: 13.08 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/jenkins1/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