Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002806/0.002806, allocations: 210.6 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.42/3.42, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.39 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4375, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.002128/0.4396, allocations: 0.591 MB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.4422, allocations: 1.556 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.4422, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.4423, allocations: 11.86 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.4423, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.4431, allocations: 204.4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.4432, allocations: 27.91 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.4433, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.4433, allocations: 8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.4433, allocations: 7.984 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.4433, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006108/0.4439, allocations: 287.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.444, allocations: 11.94 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.444, allocations: 15.91 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.4443, allocations: 163.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4443, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4443, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.4444, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 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.0004955/0.4448, allocations: 294 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4449, allocations: 8.031 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.4458, allocations: 76.81 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.446, allocations: 114.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.446, allocations: 384 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.446, allocations: 4.375 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.4462, allocations: 81.91 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4462, allocations: 4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4462, allocations: 4 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4462, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.4465, allocations: 87.81 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.4467, allocations: 117.4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4469, allocations: 86.5 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.447, allocations: 36.95 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.447, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.447, allocations: 34.56 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.447, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003896/0.4474, allocations: 157.4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.4475, allocations: 51.41 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.4476, allocations: 109.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4476, allocations: 25.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.4476, allocations: 80.14 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.4477, allocations: 19.84 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.4477, allocations: 21.69 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4479, allocations: 322.8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.4479, allocations: 31.97 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.448, allocations: 27.97 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.4481, allocations: 77.38 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4481, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002315/0.4484, allocations: 125.5 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4484, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4484, allocations: 3.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4484, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.4486, allocations: 19.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4486, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.4488, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4488, allocations: 3.984 kB / 1.332 GB, free: 11.91 MB / 1.029 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.0001116/0.4489, allocations: 122.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.4489, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000486/0.4494, allocations: 223.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4494, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4494, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4494, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.4496, allocations: 153.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4496, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.4498, allocations: 31.98 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4498, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4498, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.4498, allocations: 11.92 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4498, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.4501, allocations: 185 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.4501, allocations: 11.88 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.4502, allocations: 12 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.4503, allocations: 3.938 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.4503, allocations: 11.98 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.4503, allocations: 7.984 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.4504, allocations: 83.28 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4504, allocations: 4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003403/0.4507, allocations: 67.8 kB / 1.333 GB, free: 10.92 MB / 1.029 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.0003912/0.4511, allocations: 191 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.4513, allocations: 95.92 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4514, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.4515, allocations: 71.84 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.4516, allocations: 10.58 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.4521, allocations: 214.5 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.984e-05/0.4522, allocations: 76.64 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.4523, allocations: 24.3 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.4524, allocations: 19.42 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4524, allocations: 3.938 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of Templates: time 0.006369/0.4588, allocations: 2.516 MB / 1.336 GB, free: 7.715 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.784584208013257]