Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009663, allocations: 98.88 kB / 16.02 MB, free: 76 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.001276/0.001276, allocations: 184 kB / 16.92 MB, free: 6.684 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003867, allocations: 11.44 kB / 0.9035 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3848, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.0009072/0.3857, allocations: 314.9 kB / 1.06 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.3884, allocations: 1.634 MB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.3884, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.3885, allocations: 0 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.3885, allocations: 7.875 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.3893, allocations: 155.7 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.58e-05/0.3894, allocations: 19.92 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.3895, allocations: 8 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.3895, allocations: 4 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.3896, allocations: 11.98 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3896, allocations: 0 / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.3903, allocations: 299.4 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.3904, allocations: 11.97 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.3904, allocations: 37.64 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.3907, allocations: 99.83 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3907, allocations: 4 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3907, allocations: 0 / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.3907, allocations: 4 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004888/0.3912, allocations: 359.8 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.3913, allocations: 11.97 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.3922, allocations: 76.77 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3924, allocations: 164.3 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3924, allocations: 4.375 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3924, allocations: 8.312 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.3926, allocations: 85.91 kB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3927, allocations: 0 / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3927, allocations: 0 / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3927, allocations: 0 / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.3929, allocations: 83.88 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.3932, allocations: 189.6 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3934, allocations: 90.44 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.3934, allocations: 36.95 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3935, allocations: 0 / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3935, allocations: 38.5 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3935, allocations: 4 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003472/0.3939, allocations: 145.6 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3939, allocations: 51.41 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.394, allocations: 105.8 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.394, allocations: 25.7 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.3941, allocations: 88.06 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.3941, allocations: 19.75 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.3942, allocations: 9.719 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3943, allocations: 318.8 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.3944, allocations: 31.97 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.3944, allocations: 31.97 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3946, allocations: 72.81 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3946, allocations: 0 / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002247/0.3948, allocations: 113.5 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.3949, allocations: 7.938 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3949, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3949, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3951, allocations: 19.91 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3951, allocations: 4 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3952, allocations: 11.94 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3952, allocations: 7.984 kB / 1.064 GB, free: 15.92 MB / 0.8262 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000103/0.3953, allocations: 113.8 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.3954, allocations: 3.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.3958, allocations: 221.7 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3958, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3958, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3958, allocations: 11.94 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.396, allocations: 205.6 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3961, allocations: 3.938 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3962, allocations: 27.98 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3962, allocations: 3.938 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3963, allocations: 3.984 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3963, allocations: 3.984 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3963, allocations: 8 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.3966, allocations: 191.6 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.3966, allocations: 92.89 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3967, allocations: 0 / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.3968, allocations: 8 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3968, allocations: 7.984 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3968, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.3969, allocations: 91.27 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3969, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003414/0.3972, allocations: 67.98 kB / 1.065 GB, free: 14.77 MB / 0.8262 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004711/0.3977, allocations: 183.2 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.3979, allocations: 103.9 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.398, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3981, allocations: 75.91 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.3983, allocations: 19.88 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.3988, allocations: 257.9 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3991, allocations: 0.6965 MB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.3992, allocations: 15.42 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3992, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.004684/0.4038, allocations: 2.249 MB / 1.069 GB, free: 11.12 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches