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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006888/0.006888, allocations: 102.8 kB / 15.73 MB, free: 5.996 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.001622/0.001622, allocations: 193.2 kB / 16.67 MB, free: 5.918 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.38/1.38, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.521/2.521, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7794, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001689/0.7811, allocations: 0.5752 MB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.7832, allocations: 1.606 MB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.7832, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.7832, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.7833, allocations: 4 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.784, allocations: 195.4 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.7841, allocations: 23.97 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.7841, allocations: 3.984 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.7842, allocations: 8 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.7842, allocations: 15.92 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.7842, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.7847, allocations: 271.5 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.7848, allocations: 7.984 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.7848, allocations: 11.94 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.7851, allocations: 171.6 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7851, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7851, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7851, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 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.0003692/0.7855, allocations: 367.1 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7855, allocations: 12.03 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007192/0.7862, allocations: 64.86 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.7864, allocations: 184.3 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7864, allocations: 8.25 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.7864, allocations: 384 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.7866, allocations: 81.92 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.7866, allocations: 0 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7866, allocations: 3.938 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.7866, allocations: 3.984 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.7868, allocations: 83.88 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.7871, allocations: 181.7 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.7872, allocations: 90.45 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.7873, allocations: 40.95 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.7873, allocations: 4 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.7874, allocations: 34.5 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.7874, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0003253/0.7877, allocations: 145.5 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.7877, allocations: 51.41 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/0.7878, allocations: 109.8 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.7878, allocations: 25.7 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.7879, allocations: 80.14 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.7879, allocations: 21.77 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.788, allocations: 25.64 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7881, allocations: 318.8 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.7882, allocations: 31.97 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.7882, allocations: 31.97 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.7884, allocations: 72.81 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7884, allocations: 0 / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001968/0.7886, allocations: 109.6 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.7886, allocations: 13.66 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.7886, allocations: 0 / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7886, allocations: 0 / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.7888, allocations: 23.91 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.7888, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.789, allocations: 4.688 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.789, allocations: 7.984 kB / 1.213 GB, free: 8.309 MB / 0.9356 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 7.899e-05/0.7891, allocations: 117.8 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.7891, allocations: 15.78 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.7895, allocations: 216.1 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.7895, allocations: 7.984 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7895, allocations: 0 / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7895, allocations: 0 / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.7897, allocations: 217.5 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7897, allocations: 0 / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.7899, allocations: 27.92 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7899, allocations: 7.875 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.7899, allocations: 8 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7899, allocations: 0 / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7899, allocations: 3.984 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.7902, allocations: 188.9 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.7902, allocations: 88.95 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.7903, allocations: 8 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.7904, allocations: 3.938 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.7904, allocations: 15.92 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.7904, allocations: 4 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.7905, allocations: 83.27 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7905, allocations: 0 / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003118/0.7908, allocations: 71.98 kB / 1.214 GB, free: 7.145 MB / 0.9356 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.0003939/0.7912, allocations: 187.2 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.7914, allocations: 103.9 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7914, allocations: 0 / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.7915, allocations: 75.97 kB / 1.214 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.7917, allocations: 7.938 kB / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.7921, allocations: 213.8 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.7923, allocations: 0.6963 MB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.74e-05/0.7924, allocations: 32.23 kB / 1.215 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.7925, allocations: 19.42 kB / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7925, allocations: 0 / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of Templates: time 0.004676/0.7972, allocations: 2.44 MB / 1.217 GB, free: 3.375 MB / 0.9356 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/jenkins/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