Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_10_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_10_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.001569/0.001569, allocations: 101 kB / 16.4 MB, free: 6.461 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.001519/0.001519, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.002075/1.045, allocations: 0.5845 MB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002284/1.048, allocations: 1.598 MB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/1.048, allocations: 0 / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/1.048, allocations: 4 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/1.048, allocations: 7.938 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/1.049, allocations: 201.2 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.282e-05/1.049, allocations: 23.92 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/1.049, allocations: 0 / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/1.049, allocations: 7.984 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/1.049, allocations: 11.98 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/1.049, allocations: 0 / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/1.049, allocations: 275.5 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/1.049, allocations: 11.94 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/1.049, allocations: 15.92 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/1.05, allocations: 167.6 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.05, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.184e-06/1.05, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.05, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 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.0004475/1.05, allocations: 367.1 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.05, allocations: 12.92 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/1.051, allocations: 72.86 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/1.051, allocations: 168.2 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/1.051, allocations: 8.375 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/1.051, allocations: 384 / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/1.051, allocations: 85.91 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/1.051, allocations: 0 / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.051, allocations: 8 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.051, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/1.052, allocations: 87.81 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/1.052, allocations: 181.5 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/1.052, allocations: 86.5 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/1.052, allocations: 36.95 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/1.052, allocations: 7.984 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.052, allocations: 38.5 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/1.052, allocations: 3.938 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.0003454/1.053, allocations: 149.4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.053, allocations: 51.41 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/1.053, allocations: 105.8 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/1.053, allocations: 25.7 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/1.053, allocations: 84.14 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/1.053, allocations: 13.78 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/1.053, allocations: 29.69 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.053, allocations: 314.8 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/1.053, allocations: 35.95 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/1.053, allocations: 31.97 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/1.053, allocations: 69.44 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.053, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001972/1.054, allocations: 113.6 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.054, allocations: 11.94 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.054, allocations: 4 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.054, allocations: 4 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/1.054, allocations: 19.97 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.054, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.054, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/1.054, allocations: 7.984 kB / 1.172 GB, free: 14.55 MB / 0.9044 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 9.089e-05/1.054, allocations: 109.8 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/1.054, allocations: 11.83 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/1.055, allocations: 220.9 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.055, allocations: 4 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.055, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.055, allocations: 3.984 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/1.055, allocations: 209.5 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.055, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/1.055, allocations: 31.92 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/1.055, allocations: 3.938 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/1.055, allocations: 7.938 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.055, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.055, allocations: 3.938 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/1.055, allocations: 191.2 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/1.055, allocations: 88.95 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/1.055, allocations: 4 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/1.055, allocations: 4 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/1.055, allocations: 15.92 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/1.055, allocations: 8 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.61e-05/1.056, allocations: 91.27 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.056, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002924/1.056, allocations: 60 kB / 1.173 GB, free: 13.39 MB / 0.9044 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.0003583/1.056, allocations: 191.1 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002217/1.056, allocations: 95.94 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.056, allocations: 4 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/1.057, allocations: 83.89 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/1.057, allocations: 4 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/1.057, allocations: 242.5 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/1.057, allocations: 0.6935 MB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/1.058, allocations: 19.42 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/1.058, allocations: 0 / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of Templates: time 0.004205/1.062, allocations: 2.259 MB / 1.177 GB, free: 9.75 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches